Exploring Kubernetes Networking Introduction Kubernetes networking is a deep and varied subject. In this lab, you will test your knowledge of Kubernetes networking by implementing a networking solution. You will also verify two pods can communicate with one another via your virtual container network.
Solution Log in to the lab server using the credentials provided:
ssh cloud_user@<PUBLIC_IP_ADDRESS> Fix the Issue Causing Pods Not to Start Up List the pods to check their status:...
Managing Kubernetes Applications with Deployments Introduction Deployments offer a wide range of features for automating application management. In this lab, you will put your knowledge of deployments to the test. You will use an existing deployment to scale an application, as well as perform a rolling update.
Solution Log in to the Control Plane Node server using the credentials provided:
ssh cloud_user@<PUBLIC_IP_ADDRESS> Update the App to a New Version of the Code Edit the beebox-web deployment:...
Using Static Pods in Kubernetes Introduction Static pods are a great way to run a pod on a single node without the involvement of the Kubernetes control plane. In this lab, you will have a chance to exercise your knowledge of static pods by creating them in an existing cluster.
Create a Manifest for a Static Pod Log in to the Worker Node 1 server:
ssh cloud_user@<PUBLIC_IP_ADDRESS> Create a static pod manifest file:...
Using DaemonSets in Kubernetes Introduction DaemonSets are a great way to ensure a pod replica runs dynamically on each node. They even automatically handle the creation and removal of such pods when nodes join or leave the cluster. In this lab, you will have the opportunity to practice your skills with DaemonSets by using them to run pods on all nodes in an existing cluster.
Solution Log in to the lab server using the credentials provided:...
Assigning a Kubernetes Pod to a Specific Node Introduction Kubernetes scheduling usually doesn’t need much help in order to determine which node to run a pod on. However, you may occasionally wish to have a little more control. In this lab, you will be able to practice the process of ensuring a pod runs on a specific node.
Solution Log in to the lab server using the credentials provided:
ssh cloud_user@<PUBLIC_IP_ADDRESS> Configure the auth-gateway Pod to Only Run on k8s-worker2 Attach a label to k8s-worker2....