Skip to content

Commit

Permalink
Merge pull request #5 from projectsyn/docs/add-reboot-callouts
Browse files Browse the repository at this point in the history
Add callouts for steps that trigger node reboots in rollout how-to for OCP
  • Loading branch information
simu authored Jun 26, 2024
2 parents ecfcab6 + eee4342 commit 3c77e7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/modules/ROOT/pages/how-tos/deploy-ocp.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ This guide describes how to deploy cloudscale.ch CCM on an existing cluster.
If not already present add the following machine config which customizes the kubelet systemd service on all cluster nodes.
As described in https://github.com/openshift/infrastructure-provider-onboarding-guide/blob/main/docs/platform-external/installing.md.
+
IMPORTANT: Applying the `MachineConfig` causes node reboots.
+
[source,yaml]
----
spec:
Expand Down Expand Up @@ -93,6 +95,8 @@ worker-8e76 cloudscale://a0ba2200-bfc3-435a-b733-8607b6ee4190

. Patch infrastructure config
+
IMPORTANT: This step triggers node reboots to apply the Kubelet flag `--cloud-provider=external`.
+
[source,bash]
----
kubectl --as cluster-admin patch infrastructure.config cluster --type=merge -p '{"spec":{"platformSpec":{"external":{"platformName":"cloudscale.ch"},"type":"External"}}}'
Expand Down

0 comments on commit 3c77e7a

Please sign in to comment.