Skip to content

Commit 57ced99

Browse files
Merge pull request #67618 from ShaunaDiaz/OCPBUGS-23026
2 parents 34ab285 + 40f24b7 commit 57ced99

6 files changed

+17
-17
lines changed

modules/microshift-adding-repos-to-image-builder.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Use the following procedure to add the {microshift-short} repositories to Image
1919

2020
. Create an Image Builder configuration file for adding the `{rpm-repo-version}` RPM repository source required to pull {product-title} RPMs by running the following command:
2121
+
22-
[source,terminal,subs="attributes+"]
22+
[source,text,subs="attributes+"]
2323
----
24-
$ cat > {rpm-repo-version}.toml <<EOF
24+
cat > {rpm-repo-version}.toml <<EOF
2525
id = "{rpm-repo-version}"
2626
name = "Red Hat OpenShift Container Platform {ocp-version} for RHEL {op-system-version-major}"
2727
type = "yum-baseurl"
28-
url = "https://cdn.redhat.com/content/dist/layered/{rhel-major}/$(uname -m)/rhocp/{ocp-version}/os"
28+
url = "https://cdn.redhat.com/content/dist/layered/rhel9/$(uname -m)/rhocp/{ocp-version}/os"
2929
check_gpg = true
3030
check_ssl = true
3131
system = false
@@ -35,13 +35,13 @@ EOF
3535

3636
. Create an Image Builder configuration file for adding the `fast-datapath` RPM repository by running the following command:
3737
+
38-
[source,terminal,subs="attributes+"]
38+
[source,text,subs="attributes+"]
3939
----
40-
$ cat > fast-datapath.toml <<EOF
40+
cat > fast-datapath.toml <<EOF
4141
id = "fast-datapath"
4242
name = "Fast Datapath for RHEL 9"
4343
type = "yum-baseurl"
44-
url = "https://cdn.redhat.com/content/dist/layered/{rhel-major}/$(uname -m)/fast-datapath/os"
44+
url = "https://cdn.redhat.com/content/dist/layered/rhel9/$(uname -m)/fast-datapath/os"
4545
check_gpg = true
4646
check_ssl = true
4747
system = false

modules/microshift-adding-service-to-blueprint.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Adding the {microshift-short} RPM package to an Image Builder blueprint enables
1515
+
1616
.Image Builder blueprint example
1717
+
18-
[source,terminal]
18+
[source,text]
1919
----
20-
$ cat > minimal-microshift.toml <<EOF
20+
cat > minimal-microshift.toml <<EOF
2121
name = "minimal-microshift"
2222

2323
description = ""

modules/microshift-applying-manifests-example.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ $ sudo mkdir -p ${MANIFEST_DIR}
2727
+
2828
.. Place the YAML file in the directory:
2929
+
30-
[source,terminal]
30+
[source,text]
3131
----
32-
$ sudo tee ${MANIFEST_DIR}/busybox.yaml &>/dev/null <<EOF
32+
sudo tee ${MANIFEST_DIR}/busybox.yaml &>/dev/null <<EOF
3333
apiVersion: v1
3434
kind: Namespace
3535
metadata:
@@ -62,9 +62,9 @@ EOF
6262
+
6363
.. Place the YAML file in the directory:
6464
+
65-
[source,terminal]
65+
[source,text]
6666
----
67-
$ sudo tee ${MANIFEST_DIR}/kustomization.yaml &>/dev/null <<EOF
67+
sudo tee ${MANIFEST_DIR}/kustomization.yaml &>/dev/null <<EOF
6868
apiVersion: kustomize.config.k8s.io/v1beta1
6969
kind: Kustomization
7070
namespace: busybox

modules/microshift-creating-ostree-iso.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ This command also returns the ID of the container saved in the `IMAGEID` variabl
9595

9696
. Generate the installer blueprint file by running the following command:
9797
+
98-
[source,terminal]
98+
[source,text]
9999
----
100-
$ cat > microshift-installer.toml <<EOF
100+
cat > microshift-installer.toml <<EOF
101101
name = "microshift-installer"
102102

103103
description = ""
@@ -106,4 +106,4 @@ modules = []
106106
groups = []
107107
packages = []
108108
EOF
109-
----
109+
----

modules/microshift-firewall-update-for-service.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Firewalld is often active when you run services on {microshift-short}. This can
1010

1111
* Services of the `NodePort` and `LoadBalancer` type are automatically available with OVN-Kubernetes.
1212
+
13-
In these cases, OVN-Kubernetes adds iptables rules so the traffic to the node IP address is delivered to the relevant ports. This is done using the PREROUTING rule chain and is then forwarded to the OVN-K to bypass the firewalld rules for local host ports and services. Iptables and firewalld are backed by nftables in {rhel-major}. The nftables rules, which the iptables generates, always has priority over the rules that the firewalld generates.
13+
In these cases, OVN-Kubernetes adds iptables rules so the traffic to the node IP address is delivered to the relevant ports. This is done using the PREROUTING rule chain and is then forwarded to the OVN-K to bypass the firewalld rules for local host ports and services. Iptables and firewalld are backed by nftables in {op-system} {op-system-version-major}. The nftables rules, which the iptables generates, always have priority over the rules that the firewalld generates.
1414
1515
* Pods with the `HostPort` parameter settings are automatically available. This also includes the `router-default` pod, which uses ports 80 and 443.
1616
+

modules/microshift-updating-rpms-ostree.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $ cat > {rpm-repo-version}.toml <<EOF
3434
id = "{rpm-repo-version}"
3535
name = "Red Hat OpenShift Container Platform {ocp-version} for RHEL {op-system-version-major}"
3636
type = "yum-baseurl"
37-
url = "https://cdn.redhat.com/content/dist/layered/{rhel-major}/$(uname -m)/rhocp/{ocp-version}/os"
37+
url = "https://cdn.redhat.com/content/dist/layered/rhel9/$(uname -m)/rhocp/{ocp-version}/os"
3838
check_gpg = true
3939
check_ssl = true
4040
system = false

0 commit comments

Comments
 (0)