Using Kubernetes Services with DNS Introduction Kubernetes Services can be located with the Kubernetes DNS just like Pods can. In this lab, you will work with the Kubernetes DNS to discover Services from within a Pod. This will test your knowledge of how to interact with Services using DNS.
Solution Log in to the control plane server using the credentials provided:
ssh cloud_user@<PUBLIC_IP_ADDRESS> Perform an Nslookup for a Service in the Same Namespace Start using the busybox Pod in the web namespace to perform an nslookup on the web-frontend Service by entering:...
Exposing Kubernetes Pods Using Services Introduction Kubernetes Services are a great way to combine Kubernetes networking with the dynamic and often automated nature of Kubernetes applications. In this lab, you will use Services to expose existing Kubernetes Pods. This will allow you to practice your skills with Kubernetes Services.
Solution Log in to the server using the credentials provided:
ssh cloud_user@<PUBLIC_IP_ADDRESS> Expose the Pods from the User-db Deployment as an Internal Service Examine the properties of the user-db deployment by using kubectl get deployment user-db -o yaml....
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:...