Solutions to practice test - network policies
Run the command ‘kubectl get networkpolicy’
Run the command ‘kubectl get networkpolicy’
Run the command ‘kubectl get networkpolicy’ and look under pod selector
Run the command ‘kubectl describe networkpolicy’ and look under PolicyTypes
What is the impact of the rule configured on this Network Policy?
What is the impact of the rule configured on this Network Policy?
Access the UI of these applications using the link given above the terminal.
Only internal applications can access payroll service
Perform a connectivity test using the User Interface of the Internal Application to access the ‘external-service’ at port ‘8080’.
Answer file located at /var/answers/answer-internal-policy.yaml