Skip to content

Commit 0caeb07

Browse files
author
Bob Furu
authored
Merge pull request #33957 from bgilbert/ignition
2 parents 85e1a6c + 6b479c3 commit 0caeb07

8 files changed

+47
-65
lines changed

modules/cnf-installing-the-operators.adoc

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -151,27 +151,25 @@ cat <<EOF | oc apply -f -
151151
apiVersion: machineconfiguration.openshift.io/v1
152152
kind: MachineConfig
153153
metadata:
154+
name: load-sctp-module
154155
labels:
155156
machineconfiguration.openshift.io/role: worker-cnf
156-
name: load-sctp-module
157157
spec:
158158
config:
159159
ignition:
160-
version: 2.2.0
160+
version: 3.1.0
161161
storage:
162162
files:
163-
- contents:
163+
- path: /etc/modprobe.d/sctp-blacklist.conf
164+
mode: 0644
165+
overwrite: true
166+
contents:
164167
source: data:,
165-
verification: {}
166-
filesystem: root
167-
mode: 420
168-
path: /etc/modprobe.d/sctp-blacklist.conf
169-
- contents:
170-
source: data:text/plain;charset=utf-8,sctp
171-
filesystem: root
172-
mode: 420
173-
path: /etc/modules-load.d/sctp-load.conf
174-
168+
- path: /etc/modules-load.d/sctp-load.conf
169+
mode: 0644
170+
overwrite: true
171+
contents:
172+
source: data:,sctp
175173
EOF
176174
----
177175

modules/compliance-review.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ spec:
2020
spec:
2121
config:
2222
ignition:
23-
version: 2.2.0
23+
version: 3.1.0
2424
storage:
2525
files:
26-
- contents:
27-
source: data:,net.ipv4.conf.all.accept_redirects%3D0
28-
filesystem: root
29-
mode: 420
30-
path: /etc/sysctl.d/75-sysctl_net_ipv4_conf_all_accept_redirects.conf
26+
- path: /etc/sysctl.d/75-sysctl_net_ipv4_conf_all_accept_redirects.conf
27+
mode: 0644
28+
contents:
29+
source: data:,net.ipv4.conf.all.accept_redirects%3D0
3130
outdated: {}
3231
status:
3332
applicationState: NotApplied

modules/creating-infra-machines.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,20 +88,19 @@ $ cat infra.mc.yaml
8888
apiVersion: machineconfiguration.openshift.io/v1
8989
kind: MachineConfig
9090
metadata:
91+
name: 51-infra
9192
labels:
9293
machineconfiguration.openshift.io/role: infra
93-
name: 51-infra
9494
spec:
9595
config:
9696
ignition:
97-
version: 2.2.0
97+
version: 3.1.0
9898
storage:
9999
files:
100-
- contents:
101-
source: data:,infra
102-
filesystem: root
100+
- path: /etc/infratest
103101
mode: 0644
104-
path: /etc/infratest
102+
contents:
103+
source: data:,infra
105104
----
106105

107106
. Apply the machine config, then verify that the infra-labeled nodes are updated with the configuration file:

modules/ipi-install-configure-network-components-to-run-on-the-control-plane.adoc

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,24 +61,18 @@ spec:
6161
WantedBy=multi-user.target
6262
storage:
6363
files:
64-
- contents:
64+
- path: /etc/kubernetes/manifests/keepalived.yaml
65+
mode: 0644
66+
contents:
6567
source: data:,
66-
verification: {}
67-
filesystem: root
68-
mode: 420
69-
path: /etc/kubernetes/manifests/keepalived.yaml
70-
- contents:
68+
- path: /etc/kubernetes/manifests/mdns-publisher.yaml
69+
mode: 0644
70+
contents:
7171
source: data:,
72-
verification: {}
73-
filesystem: root
74-
mode: 420
75-
path: /etc/kubernetes/manifests/mdns-publisher.yaml
76-
- contents:
72+
- path: /etc/kubernetes/manifests/coredns.yaml
73+
mode: 0644
74+
contents:
7775
source: data:,
78-
verification: {}
79-
filesystem: root
80-
mode: 420
81-
path: /etc/kubernetes/manifests/coredns.yaml
8276
----
8377
+
8478
This manifest places the `apiVIP` and `ingressVIP` virtual IP addresses on the control plane nodes. Additionally, this manifest deploys the following processes on the control plane nodes only:

modules/networking-osp-enabling-metadata.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ metadata:
2727
labels:
2828
machineconfiguration.openshift.io/role: worker
2929
spec:
30-
osImageURL: ''
3130
config:
3231
ignition:
33-
version: 2.2.0
32+
version: 3.1.0
3433
systemd:
3534
units:
3635
- name: create-mountpoint-var-config.service
@@ -64,4 +63,4 @@ spec:
6463
[source,terminal]
6564
----
6665
$ oc apply -f <machine_config_file_name>.yaml
67-
----
66+
----

modules/networking-osp-enabling-vfio-noiommu.adoc

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,15 @@ metadata:
2222
labels:
2323
machineconfiguration.openshift.io/role: worker
2424
spec:
25-
osImageURL: ''
2625
config:
2726
ignition:
28-
version: 2.2.0
27+
version: 3.1.0
2928
storage:
3029
files:
31-
- filesystem: root
32-
path: "/etc/modprobe.d/vfio-noiommu.conf"
33-
contents:
34-
source: data:text/plain;charset=utf-8;base64,b3B0aW9ucyB2ZmlvIGVuYWJsZV91bnNhZmVfbm9pb21tdV9tb2RlPTEK
35-
verification: {}
30+
- path: /etc/modprobe.d/vfio-noiommu.conf
3631
mode: 0644
32+
contents:
33+
source: data:;base64,b3B0aW9ucyB2ZmlvIGVuYWJsZV91bnNhZmVfbm9pb21tdV9tb2RlPTEK
3734
----
3835
<1> You can substitute a name of your choice.
3936

modules/nw-sctp-enabling.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ As a cluster administrator, you can load and enable the blacklisted SCTP kernel
2121
apiVersion: machineconfiguration.openshift.io/v1
2222
kind: MachineConfig
2323
metadata:
24+
name: load-sctp-module
2425
labels:
2526
machineconfiguration.openshift.io/role: worker
26-
name: load-sctp-module
2727
spec:
2828
config:
2929
ignition:
3030
version: 3.1.0
3131
storage:
3232
files:
33-
- contents:
34-
source: data:,
35-
mode: 420
33+
- path: /etc/modprobe.d/sctp-blacklist.conf
34+
mode: 0644
3635
overwrite: true
37-
path: /etc/modprobe.d/sctp-blacklist.conf
38-
- contents:
39-
source: data:text/plain;charset=utf-8,sctp
40-
mode: 420
36+
contents:
37+
source: data:,
38+
- path: /etc/modules-load.d/sctp-load.conf
39+
mode: 0644
4140
overwrite: true
42-
path: /etc/modules-load.d/sctp-load.conf
41+
contents:
42+
source: data:,sctp
4343
----
4444

4545
. To create the `MachineConfig` object, enter the following command:

modules/persistent-kubelet-log-level-configuration.adoc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,11 @@ kind: MachineConfig
1616
spec:
1717
config:
1818
ignition:
19-
config: {}
20-
security:
21-
tls: {}
22-
timeouts: {}
23-
version: 2.2.0
19+
version: 3.1.0
2420
systemd:
2521
units:
2622
- name: kubelet.service
27-
enable: true
23+
enabled: true
2824
dropins:
2925
- name: 30-logging.conf
3026
contents: |

0 commit comments

Comments
 (0)