Kubernetes updates - gpillon/k4all GitHub Wiki

K4all Kubernetes Update Procedure

This page details the steps to perform a Kubernetes update in the K4all project. ( update-k8s Gist)

Normal Update - First Node

The first node in the cluster requires the master components to be updated. This command targets the node responsible for managing the Kubernetes cluster.

curl -s https://gist.githubusercontent.com/gpillon/6ff433c6a6103ab58ec2edbbbf722f12/raw/update-k8s-v1.sh | KUBERNETES_VERSION=1.31  bash

Normal Update - Other Nodes

Other nodes are worker nodes and need only to update the node-specific components.

curl -s https://gist.githubusercontent.com/gpillon/6ff433c6a6103ab58ec2edbbbf722f12/raw/update-k8s-v1.sh | KUBERNETES_VERSION=1.31 NODE_TYPE=node bash

Auto-updating Fedora CoreOS Patch Versions

Patch versions are automatically updated using Zincati, ensuring a smooth process for minor version changes.

Additional Options

  • Skip Version Check: Add SKIP_VERSION_CHECK=true for special cases.
  • Force Update: Use SKIP_PREFLIGHT_CHECK=true for forceful upgrades.