
Ultimate access to all questions.
You're tasked with creating a script to extract the IP address of a Kubernetes Service. Your coworker has shared a code snippet they believe could be useful. Which option would serve as the best foundation for your code?
A
kubectl get svc -o html
B
kubectl get svc
C
kubectl get svc -o filtered-json='{.items[*].status.loadBalancer.ingress[0].ip}'*
D
kubectl get svc -o jsonpath='{.items[*].status.loadBalancer.ingress[0].ip}'*