All hands-on labs

Premium Hands-on labintermediate

Kubernetes Control Plane and Worker Nodes

In this lab, learn how to work with the K8s control plane and worker nodes, include: communicating with the API and using certificates for authentication, viewing where the control plane and CoreDNS are running, retrieving Kubernetes API server information, and more.

  • 20 guided tasks

Scenario

This lab is part of our Kubernetes course and may difficult to complete out of context. Check out the course if you'd like to learn more!

The lab gives you two new servers: a control-plane server and a worker node server. Kubernetes is installed on both, but no cluster exists yet. You'll join the two servers into a cluster, explore where its workloads run, and then call the Kubernetes API server directly with certificates.

What you will learn

  • Build a two-node Kubernetes cluster with kubeadm.
  • Inspect the kube config, contexts, and namespaces with kubectl.
  • Find where the control plane, CoreDNS, and kube-system pods run.
  • Authenticate to the Kubernetes API server with curl and client certificates.
Hands-on lab

Kubernetes Control Plane and Worker Nodes

Included in Cybr Premium.