This lab provides practice scenarios to help prepare you for the Certified Kubernetes Administrator (CKA) 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 CKA exam. Good luck!
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a NetworkPolicy That Denies All Access to the Maintenance Pod
- There is a pod called
maintenance
in thefoo
namespace. Create aNetworkPolicy
that blocks all traffic to and from this pod.
- There is a pod called
- Create a NetworkPolicy That Allows All Pods in the Users-Backend Namespace to Communicate with Each Other Only on a Specific Port
- There are some pods in the
users-backend
namespace. Create aNetworkPolicy
that blocks all traffic to pods in this namespace, except for traffic from pods in the same namespace on port80
.
- There are some pods in the