CKA Learning path 20

Using PersistentVolumes in Kubernetes Introduction PersistentVolumes provide a way to treat storage as a dynamic resource in Kubernetes. This lab will allow you to demonstrate your knowledge of PersistentVolumes. You will mount some persistent storage to a container using a PersistentVolume and a PersistentVolumeClaim. Solution Log in to the server using the credentials provided: ssh cloud_user@<PUBLIC_IP_ADDRESS> Create a PersistentVolume That Allows Claim Expansion Create a custom Storage Class by using ```vi localdisk....

CKA Learning path 19

Managing Container Storage with Kubernetes Volumes Introduction Kubernetes volumes offer a simple way to mount external storage to containers. This lab will test your knowledge of volumes as you provide storage to some containers according to a provided specification. This will allow you to practice what you know about using Kubernetes volumes. Solution Log in to the control plane server using the credentials provided: ssh cloud_user@<PUBLIC_IP_ADDRESS> Create a Pod That Outputs Data to the Host Using a Volume Create a Pod that will interact with the host file system by using vi maintenance-pod....

CKA Learning path 18

Using Kubernetes Ingress Introduction Kubernetes Ingress allows you to customize how external entities can interact with your Kubernetes applications via the network. This lab will allow you to exercise your knowledge of Kubernetes Ingress. You will use Ingress to open access from an existing service to an external server. Solution Log in to the server using the credentials provided: ssh cloud_user@<PUBLIC_IP_ADDRESS> Create a Service to Expose the web-auth Deployment Check out the deployment:...

CKA Learning path 17

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:...

CKA Learning path 16

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....