Configure NTP server for a regional cluster¶
If you did not add the NTP server parameters during the management cluster bootstrap, configure them on the existing regional cluster as required. These parameters are applied to all machines of regional and managed clusters in the specified region.
The procedure below triggers an upgrade of all clusters in a specific region, which may lead to workload disruption during nodes cordoning and draining.
To configure an NTP server for a regional cluster:
Download your management cluster
Log in to the Mirantis Container Cloud web UI with the
Switch to the required project using the Switch Project action icon located on top of the main left-side navigation panel.
Expand the menu of the tab with your user name.
Click Download kubeconfig to download
kubeconfigof your management cluster.
Log in to any local machine with
Copy the downloaded
kubeconfigto this machine.
Use the downloaded
kubeconfigto edit the management cluster:
kubectl --kubeconfig <kubeconfigPath> edit -n <projectName> cluster <managementClusterName>
In the command above and the step below, replace the parameters enclosed in angle brackets with the corresponding values of your cluster.
regionalsection, add the
ntp:serverssection with the list of required servers names:
spec: ... providerSpec: value: kaas: ... regional: - helmReleases: - name: <providerName> values: config: lcm: ... ntp: servers: - 0.pool.ntp.org ...