Which command is used to view the current Istio configuration resources in a namespace?
Trap 1: istioctl proxy-config
proxy-config checks proxy state.
Trap 2: istioctl dashboard
dashboard opens the UI.
Trap 3: istioctl analyze
analyze checks for misconfigurations.
- A
istioctl proxy-config
Why it fails: proxy-config checks proxy state.
- B
istioctl dashboard
Why it fails: dashboard opens the UI.
- C
istioctl analyze
Why it fails: analyze checks for misconfigurations.
- D
kubectl get
kubectl get queries the Kubernetes API server for Istio custom resources such as VirtualServices, Gateways and DestinationRules within the specified namespace, listing their current state. This satisfies the requirement to view existing Istio configuration resources without modifying them.