Exam Name: | Certified Kubernetes Administrator (CKA) Program | ||
Exam Code: | CKA Dumps | ||
Vendor: | Linux Foundation | Certification: | Kubernetes Administrator |
Questions: | 67 Q&A's | Shared By: | zane |
Create a pod with environment variables as var1=value1.Check the environment variable in pod
Create a busybox pod that runs the command “env” and save the output to “envpod” file
Score: 7%
Task
Create a new NetworkPolicy named allow-port-from-namespace in the existing namespace echo. Ensure that the new NetworkPolicy allows Pods in namespace my-app to connect to port 9000 of Pods in namespace echo.
Further ensure that the new NetworkPolicy:
• does not allow access to Pods, which don't listen on port 9000
• does not allow access from Pods, which are not in namespace my-app