Skip to content

Day 2

Change the machine config

Send a changed machine config to the running nodes, one node at a time.

  • The change is in git and reviewed.
  • A person with pk-metal-approver can approve the rollout. That is you, if your site allows self-approval. If not, it is a second person. See Set up approval permissions.
  • All other rollouts of the cluster are complete. The operator proposes nothing new while one is open.
  1. Edit the TalosCluster or the TalosNode. For example, add a patch.

    Terminal window
    kubectl apply -f cluster.yaml

    The operator renders a new config into a new Secret. No machine changes.

  2. Wait for the drift check. It runs each 10 minutes on each Ready node.

    Terminal window
    kubectl get talosnodes

    The column INSYNC shows False for the nodes that differ.

  3. Find the proposed rollout.

    Terminal window
    pk-metal rollout list

    A rollout of the kind Config is in the state AwaitingApproval.

  4. Read the plan. It shows for each node if it reboots.

    Terminal window
    pk-metal rollout show prod-config-5e6f7a8b
  5. Approve the plan. If your site forbids self-approval, ask a second person to approve it.

    Terminal window
    pk-metal rollout approve prod-config-5e6f7a8b
  6. After the first node, examine it. Then resume the rollout.

    Terminal window
    pk-metal rollout resume prod-config-5e6f7a8b
  • Each TalosNode has ConfigInSync=True.
  • pk-metal rollout show <rollout> shows Complete=True.

Revert the change in git and apply it. The operator proposes a new Config rollout back to the old config.

What you see Go to
No rollout appears, ConfigInSync is Unknown The dry run failed. The message on DriftUnknown says why.
PlanChanged Rollout paused or plan changed
A node fails Operation failed