Installing Machine Configuration
Machine Configuration is not part of a cluster by default. It ships as a cluster plugin named Alauda Container Platform Machine Configuration (module name machine-config), is released on its own cadence rather than with the release stream, and must be installed once on every cluster whose node configuration you want to manage.
Until the plugin is installed on a cluster, none of the objects described in Overview exist on it: the MachineConfig, MachineConfigPool, and MachineConfiguration APIs are not registered, and the master and worker pools, the empty 00-master and 00-worker configurations, and the singleton cluster MachineConfiguration are absent. The Machine Configuration Operator creates them the first time it starts.
Prerequisites
- The target cluster runs on Immutable Infrastructure. Machine Configuration manages an immutable node operating system and is not supported on traditional operating systems.
- The target cluster's nodes are
Ready, and control plane nodes carry thenode-role.kubernetes.io/control-planelabel while worker nodes carrynode-role.kubernetes.io/worker. The default pools select nodes by those labels. - Access to the
globalcluster with permission to createModuleInforesources. - Access to Customer Portal for downloading the plugin package.
Downloading
Download the Alauda Container Platform Machine Configuration package from Customer Portal.
Install the same version on every cluster in one environment. For the published versions and what changed in each, see Release Notes.
Uploading
Upload the downloaded package to with violet push. For the detailed upload procedure, including how to obtain the violet tool, refer to Upload Packages.
After the upload finishes, the platform needs a few minutes to synchronize the package before the version becomes selectable.
Installing
Install Machine Configuration once per cluster — on the global cluster and on every workload cluster whose nodes you want to manage. The plugin declares no cluster affinity, so both cluster scopes are valid targets.
For the general cluster-plugin procedure, including installation from the web console, refer to Cluster Plugin.
To install with YAML, first confirm on the global cluster that the plugin is published, and note the version:
Then create a ModuleInfo. Apply it on the global cluster even when the target is a workload cluster:
- Machine Configuration takes no configuration parameters, so
spec.configstays empty. spec.versionmust match the.spec.versionof the publishedModuleConfig.metadata.nameis temporary; the platform renames the object to<cluster-name>-<hash>after creation.
Repeat the installation for each remaining target cluster, changing cpaas.io/cluster-name and the temporary name.
Verifying the Installation
On the global cluster, wait for the plugin to report Running for each cluster it was installed on:
Then, against the target cluster, confirm that both components are up. The controller runs on control plane nodes; the daemon runs on every node:
Finally, confirm that the operator created its initial objects:
If the pools or the base configurations do not appear, check the controller logs — it creates all of them at startup:
Upgrading
Machine Configuration is released independently of , so it is upgraded as a standalone plugin instead of through a cluster upgrade. It appears in the Cluster Plugins list with the Agnostic life cycle.
- Download the new version from Customer Portal and upload it the same way as the initial installation.
- Wait for the platform to synchronize the new version. This takes approximately 10 to 15 minutes.
- Go to Administrator > Marketplace > Cluster Plugins, select the target cluster, and start the upgrade from the plugin list page or the plugin details page.
- Repeat for every cluster where the plugin is installed, so that all clusters in one environment run the same version.
The plugin declares a low upgrade risk with no impact on running applications. The operator only creates its initial objects when they are absent, so an upgrade preserves the existing pools, the base configurations, and every MachineConfig you have created.
For the general plugin upgrade procedure and the meaning of each life cycle, refer to Cluster Plugin.