This lab provides practice scenarios to help prepare you for the Certified Kubernetes Application Developer (CKAD) exam. You will be presented with tasks to complete, as well as server(s) and/or an existing Kubernetes cluster to complete them in. You will need to use your knowledge of Kubernetes to successfully complete the provided tasks, much like you would on the real CKAD exam. Good luck!
Successfully complete this lab by achieving the following learning objectives:
- Expose an Application with a NodePort Service
There is a Deployment called
Expose this Deployment on port
8082using a NodePort-type Service called
- Provide Network Access between Pods via a NetworkPolicy
There are several Pods in the
xanderPod needs to be able to reach out to both
api-2, but it currently cannot do so due to the NetworkPolicy setup.
Without creating, changing, or removing any existing NetworkPolicies, provide the
xanderPod with access to
api-2, but not any other Pods in the Namespace. You should be able to do this by only making changes to the
xanderPod and no other objects.