Joining nodes and cluster verification
Separate discovery from TLS bootstrap
A joining node must first identify the intended cluster and then establish its own authenticated identity. With token-based discovery, kubeadm can verify the cluster CA public key against a trusted SHA-256 pin. The pin is not a secret token or a hash of the entire certificate file. A bootstrap token is a sensitive, limited credential; it participates in discovery and can authorize TLS bootstrap according to cluster policy. During TLS bootstrap the kubelet requests a client certificate using a CSR. Approval depends on configured authorization and approval policy. Do not distribute an admin kubeconfig as a substitute for node identity.
Trusted endpoint + verified CA public-key pin → discoveryTemporary bootstrap credential → kubelet CSR → approved node client certificateCompare worker and control-plane joins
A worker join configures the kubelet and registers a node. A control-plane join additionally prepares certificates and runs control-plane components; a stacked topology also adds an etcd member. The control-plane join requires additional approved certificate distribution and topology preparation. In a supported kubeadm workflow, uploaded certificate material is encrypted and temporarily available; its decryption key is highly sensitive. Never paste real join commands, tokens, certificate keys or private PKI into a lesson or chat. These examples intentionally contain placeholders and are not runnable.
kubeadm join <approved-api-endpoint> --token <temporary-token> --discovery-token-ca-cert-hash sha256:<verified-pin># Control-plane joins need additional reviewed options and certificate handling.Verify a joined node in layers
A Node object appearing in the API means registration happened; it does not prove that networking, DNS or workload scheduling works. With explicitly approved lab credentials, inspect node conditions, kube-system Pods and relevant events. Confirm a workload can schedule onto an eligible worker and that Service discovery and a small application request work. A Ready control-plane node can still carry a taint excluding ordinary workloads. A node with NetworkPluginNotReady suggests investigating CNI installation and configuration; it does not justify disabling security.
kubectl --kubeconfig ./lab.kubeconfig --context bm-lab get nodes -o widekubectl --kubeconfig ./lab.kubeconfig --context bm-lab -n kube-system get podskubectl --kubeconfig ./lab.kubeconfig --context bm-lab describe node worker-aDiagnose the first failed stage
A CA pin mismatch is a trust failure: verify the intended endpoint and pin through a trusted channel; never turn off CA verification to force a join. A rejected or expired token calls for controlled renewal by an authorized administrator. A pending CSR requires identity and policy review rather than unconditional approval. Once registration succeeds, examine CNI, runtime and readiness separately. The offline fixture classifies these evidence boundaries; it cannot validate a signature, submit a CSR or assess a real node.
worker-a: discovery verified; CSR approved; registered; Ready=False; NetworkPluginNotReadyNext: inspect CNI and kubelet evidence, then verify application connectivity.Practice and verification
Classify join-cases.json; write the next safe check for each failed stage and define a workload-level acceptance test. Use the offline fixtures in lab-fixtures/kubeadm-bootstrap. State the evidence that would be required before any live test.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Joining nodes and cluster verification — knowledge check
Explain how a new node establishes trust, receives its own kubelet identity and passes post-join verification.
What does the discovery CA pin verify?
A bootstrap token expired. What is appropriate?
A CSR is pending. What must happen before manual approval?
A Node object exists but CNI reports not ready. What is proven?
How does a control-plane join differ from a worker join?