Edge Kubernetes & Zero-Touch Provisioning›Cluster & Fleet · Cheat sheet & self-check

Cluster & Fleet · wrap-up

Cheat sheet & self-check

Every command from this section on one page.

08 · EKS Anywhere on bare metal

Create

eksctl anywhere generate clusterconfig site042 --provider tinkerbell > site042.yamlStart a cluster spec
hardware.csv: hostname,bmc_ip,bmc_username,bmc_password,mac,ip_address,netmask,gateway,nameservers,labels,diskHardware inventory (labels like type=cp)
eksctl anywhere create cluster --hardware-csv hardware.csv -f site042.yamlProvision machines and form the cluster

Day 2

eksctl anywhere upgrade plan cluster -f site042.yamlSee available component upgrades
eksctl anywhere upgrade cluster -f site042.yamlUpgrade (Kubernetes version and components)
eksctl anywhere generate hardware -z hardware.csv > hardware.yamlHardware objects for adding machines later
kubectl get clusters.anywhere.eks.amazonaws.com,machines -ACluster and CAPI machine status

09 · Rancher + RKE2 provisioning

RKE2

curl -sfL https://get.rke2.io | sh - && systemctl enable --now rke2-serverInstall and start a server (online)
/etc/rancher/rke2/config.yamlNode configuration (token, tls-san, profile, server…)
server: https://<vip-or-first-server>:9345Join an existing cluster (supervisor port)
/etc/rancher/rke2/rke2.yaml + /var/lib/rancher/rke2/bin/kubectlAdmin kubeconfig and bundled kubectl
rke2 etcd-snapshot save --name pre-upgradeManual etcd snapshot

Rancher & Elemental

Cluster Management → Create → CustomRegister existing machines with a registration command
MachineRegistration / MachineInventory / SeedImage (Elemental)Onboard and manage edge OS + nodes
Fleet: GitRepo + cluster labelsGitOps across many clusters (built into Rancher)

10 · GitOps fleet management

Targeting

Cluster labels: site=042, size=s, region=eu, wave=canaryDescribe clusters; select by label
Fleet: GitRepo targets[].clusterSelectorRancher Fleet targeting
Argo CD: ApplicationSet cluster generator selectorArgo CD targeting
Flux: a Kustomization per cluster from its own pathFlux per-cluster entry point

Rollout

wave=lab → canary → early → allStaged rollout by label
Pin revisions per wave (tags/branches)Promote by moving a pointer
Fleet/Argo status per clusterWhich revision each site runs

11 · Edge networking, storage & security

Networking

kube-vip (ARP/BGP)API server VIP and/or Service LoadBalancer IPs
MetalLB (L2 or BGP)LoadBalancer Services on bare metal
Local DNS forwarder + NTP server (or GPS/PTP clock)Sites keep working offline
Multus + SR-IOV device pluginExtra, high-performance pod interfaces (telecom)

Storage & security

local-path / TopoLVM (LVM-backed local PVs)Single-node or node-local storage
Longhorn (3 nodes)Replicated block storage for small clusters
LUKS + TPM2 (e.g. systemd-cryptenroll / Clevis)Encrypted disks that unlock only on the original hardware
Secure Boot + measured bootOnly signed boot chains; tampering is detectable

12 · DR & compliance at scale

Backups

rke2 etcd-snapshot save / automatic snapshots (+ S3 upload)RKE2 etcd backups
etcdctl snapshot save (kubeadm-based clusters, e.g. EKS-A control plane)Generic etcd snapshot
velero backup create site042-daily --include-namespaces shopKubernetes objects + volume data

Compliance

kube-bench run --targets master,nodeCIS Kubernetes Benchmark checks
Policy engine reports (Kyverno/Gatekeeper)Continuous config compliance
Per-site inventory: OS image, K8s, bundle, firmware, Secure Boot, encryptionEvidence and drift detection