1
A kubectl context contains connection information to a Kubernetes cluster. Different kubectl contexts can connect to different Kubernetes clusters, or to the same cluster but using different users or different default namespaces.
List all available kubectl contexts and write the output to /root/contexts .
정답
k config get-contexts
k config get-contexts > /root/contexts
2
Switch to context purple and list all Pods.
정답
k config use-context purple
k get pod
풀이