Configure optional settings¶
Note
Consider this section as part of the Bootstrap v2 CLI procedure.
During creation of a management cluster, you can configure optional cluster
settings using the MOSK management API by modifying
cluster.yaml.template.
To configure optional cluster settings:
Technology Preview. Enable custom host names for cluster machines. When enabled, any machine host name in a particular region matches the related
Machineobject name. For example, instead of the defaultkaas-node-<UID>, a machine host name will bemaster-0. The custom naming format is more convenient and easier to operate with.Configuration for custom host names on the management and its future MOSK clusters
In
cluster.yaml.template, find thespec.providerSpec.value.kaas.regional.helmReleases.name: baremetal-providersection.Under
values.config, addcustomHostnamesEnabled: true:regional: - helmReleases: - name: baremetal-provider values: config: allInOneAllowed: false customHostnamesEnabled: true internalLoadBalancers: false provider: baremetal-provider
Configure OIDC integration with LDAP or Google OAuth. For details, see Configure LDAP for IAM or Configure Google OAuth IdP for IAM.
Configure NTP server. You can disable NTP that is enabled by default. This option disables the management of
chronyconfiguration by MOSK to use your own system forchronymanagement. Otherwise, configure the regional NTP server parameters as described below.NTP configuration
Configure the regional NTP server parameters to be applied to all machines of MOSK clusters.
In
cluster.yaml.templateor theClusterobject, add thentp:serverssection with the list of required server names:spec: ... providerSpec: value: kaas: ... ntpEnabled: true regional: - helmReleases: - name: baremetal-provider values: config: lcm: ... ntp: servers: - 0.pool.ntp.org ... provider: baremetal ...
To disable NTP:
spec: ... providerSpec: value: ... ntpEnabled: false ...
Note
After the bootstrap, you can switch to the NTP module as a flexible way to manage different NTP settings. For details, see Configure NTP server.
If you plan to deploy large MOSK clusters, enable dynamic IP allocation to increase the amount of baremetal hosts to be provisioned in parallel. For details, see Enable dynamic IP allocation.
Now, proceed with completing the bootstrap process using the MOSK Bootstrap API as described in Deploy a management cluster.