...
EUMETSAT Managed Kubernetes
CLI - kubectl
pre-requisite: have a machine with kubectl installed and your kubeconfig in ~/.kube/ folder
Update each MachineDeployment that should use the custom profile:
| Code Block |
|---|
kubectl --context <user-cluster-context> annotate machinedeployment -n kube-system <machine-deployment-name> \ k8c.io/operating-system-profile=osp-ubuntu-custom-1105202601 \ --overwrite |
Changing the OSP annotation does not automatically rotate existing machines. Trigger a rolling restart so the MachineDeployment creates new machines with the new profile:
| Code Block |
|---|
forceRestartAnnotations="{\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"forceRestart\":\"$(date +%s)\"}}}}}" kubectl --context <user-cluster-context> patch machinedeployment -n kube-system <machine-deployment-name> \ --type=merge \ -p "$forceRestartAnnotations" |
Watch the rollout:
| Code Block |
|---|
kubectl --context <user-cluster-context> get machinedeployments,machines -n kube-system -o wide kubectl --context <user-cluster-context> get nodes -o wide |
KKP UI
On the KKP UI, the process would be similar via ClickOps, and would need to be done for each intended node pool of each user cluster.
Once logged in go to Resources - > Clusters → Select your cluster. In the Machine Deployment section click the edit button.
In the new window open, scroll down until you find the Operating System Profile and change to the new value: osp-ubuntu-custom-1105202601. And then hit Save Changes.
After that, in the same Machine Deployment section, you can use the Refresh button to refresh the node pool.


