You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= Creating a `KubeletConfig` CRD to edit kubelet parameters
9
9
10
-
The kubelet configuration is currently serialized as an ignition configuration, so it can be directly edited. However, there is also a new
10
+
The kubelet configuration is currently serialized as an Ignition configuration, so it can be directly edited. However, there is also a new
11
11
`kubelet-config-controller` added to the Machine Config Controller (MCC). This allows you to create a `KubeletConfig` custom resource (CR) to edit the kubelet parameters.
Copy file name to clipboardExpand all lines: modules/installation-osp-converting-ignition-resources.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Edit the file and upload it. Then, create a secondary bootstrap Ignition configu
15
15
* You have the bootstrap Ignition file that the installer program generates, `bootstrap.ign`.
16
16
* The infrastructure ID from the installer's metadata file is set as an environment variable (`$INFRA_ID`).
17
17
** If the variable is not set, see *Creating the Kubernetes manifest and Ignition config files*.
18
-
* You have an HTTP(S)-accessible way to store the bootstrap ignition file.
18
+
* You have an HTTP(S)-accessible way to store the bootstrap Ignition file.
19
19
** The documented procedure uses the {rh-openstack} image service (Glance), but you can also use the {rh-openstack} storage service (Swift), Amazon S3, an internal HTTP server, or an ad hoc Nova server.
Copy file name to clipboardExpand all lines: modules/installation-rhv-about-inventory-yml.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,7 +170,7 @@ You can override the value a virtual machine inherits from its profile. To do th
170
170
171
171
.Metadata variables
172
172
173
-
For virtual machines, `metadata.infraID` prepends the name of the virtual machine with the infrastructure ID from the `metadata.json` file you create when you build the ignition files.
173
+
For virtual machines, `metadata.infraID` prepends the name of the virtual machine with the infrastructure ID from the `metadata.json` file you create when you build the Ignition files.
174
174
175
175
The playbooks use the following code to read `infraID` from the specific file located in the `ocp.assets_dir`.
To build the Ignition files from the manifest files you just generated and modified, you run the installation program. This action creates a {op-system-first} machine, `initramfs`, which fetches the Ignition files and performs the configurations needed to create a node.
<1> The `-I` option returns the header only. If the Ignition file is available on the specified URL, the command returns `200 OK` status. If it is not available, the command returns `404 file not found`.
38
38
+
39
-
.. To verify that the ignition file was received by the master node, query the HTTP server logs on the serving host. For example, if you are using an Apache web server to serve Ignition files:
39
+
.. To verify that the Ignition file was received by the master node, query the HTTP server logs on the serving host. For example, if you are using an Apache web server to serve Ignition files:
<1> The `-I` option returns the header only. If the Ignition file is available on the specified URL, the command returns `200 OK` status. If it is not available, the command returns `404 file not found`.
38
38
+
39
-
.. To verify that the ignition file was received by the worker node, query the HTTP server logs on the HTTP host. For example, if you are using an Apache web server to serve Ignition files:
39
+
.. To verify that the Ignition file was received by the worker node, query the HTTP server logs on the HTTP host. For example, if you are using an Apache web server to serve Ignition files:
Copy file name to clipboardExpand all lines: modules/machine-config-overview.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ a machine config that is injected directly into the {product-title} installer pr
21
21
22
22
* MCO is only supported for writing to files in `/etc` and `/var` directories, although there are symbolic links to some directories that can be writeable by being symbolically linked to one of those areas. The `/opt` directory is an example.
23
23
24
-
* Ignition is the configuration format used in MachineConfigs. See the link:https://github.com/coreos/ignition/blob/master/docs/configuration-v3_1.md[Ignition Configuration Specification v3.1.0] for details.
24
+
* Ignition is the configuration format used in MachineConfigs. See the link:https://coreos.github.io/ignition/configuration-v3_2/[Ignition Configuration Specification v3.2.0] for details.
25
25
26
26
* Although Ignition config settings can be delivered directly at {product-title} installation time, and are formatted in the same way that MCO delivers Ignition configs, MCO has no way of seeing what those original Ignition configs are. Therefore, you should wrap Ignition config settings into a machine config before deploying them.
27
27
@@ -30,12 +30,12 @@ offending file, however, and should continue to operate in a `degraded` state.
30
30
31
31
* A key reason for using a machine config is that it will be applied when you spin up new nodes for a pool in your {product-title} cluster. The `machine-api-operator` provisions a new machine and MCO configures it.
32
32
33
-
MCO uses link:https://github.com/coreos/ignition[CoreOS Ignition] as the configuration format {product-title} 4.6 moved from Ignition version 2 to Ignition version 3 format.
33
+
MCO uses link:https://coreos.github.io/ignition/[Ignition] as the configuration format. {product-title} 4.6 moved from Ignition config specification version 2 to version 3.
34
34
35
35
== What can you change with machine configs?
36
36
The kinds of components that MCO can change include:
37
37
38
-
* **config**: Create ignition config objects (see the link:https://github.com/coreos/ignition/blob/master/docs/configuration-v3_1.md[Ignition configuration specification]) to do things like modify files, systemd services, and other features on {product-title} machines, including:
38
+
* **config**: Create Ignition config objects (see the link:https://coreos.github.io/ignition/configuration-v3_2/[Ignition configuration specification]) to do things like modify files, systemd services, and other features on {product-title} machines, including:
39
39
- **Configuration files**: Create or overwrite files in the `/var` or `/etc` directory.
40
40
- **systemd units**: Create and set the status of a systemd service or add to an existing systemd service by dropping in additional settings.
41
41
- **users and groups**: Change ssh keys in the passwd section post-installation.
Copy file name to clipboardExpand all lines: post_installation_configuration/machine-configuration-tasks.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Tasks in this section let you create `MachineConfig` objects to modify files, sy
24
24
content related to link:https://access.redhat.com/solutions/5307301[changing MTU network settings], link:https://access.redhat.com/solutions/5096731[adding] or
25
25
link:https://access.redhat.com/solutions/4510281[updating] SSH authorized keys, link:https://access.redhat.com/solutions/4518671[replacing DNS nameservers], link:https://access.redhat.com/verify-images-ocp4[verifying image signatures], link:https://access.redhat.com/solutions/4727321[enabling SCTP], and link:https://access.redhat.com/solutions/5170251[configuring iSCSI initiatornames] for {product-title}.
26
26
27
-
{product-title} version 4.7 supports link:https://github.com/coreos/ignition/blob/master/docs/configuration-v3_1.md[Ignition specification version 3.1]. All new machine configs you create going forward should be based on Ignition specification version 3.1. If you are upgrading your {product-title} cluster, any existing Ignition specification version 2.x machine configs will be translated automatically to specification version 3.1.
27
+
{product-title} version 4.7 supports link:https://coreos.github.io/ignition/configuration-v3_2/[Ignition specification version 3.2]. All new machine configs you create going forward should be based on Ignition specification version 3.2. If you are upgrading your {product-title} cluster, any existing Ignition specification version 2.x machine configs will be translated automatically to specification version 3.2.
0 commit comments