Get Cluster List in Kubernetes
If you have a lot of kubernetes cluster, you will see the following:
1user@example:~$ kubectl config get-contexts
2CURRENT NAME CLUSTER AUTHINFO NAMESPACE
3* do-nyc1-kubernetes-tutorial do-nyc1-kubernetes-tutorial do-nyc1-kubernetes-tutorial-admin
4 do-nyc3-infra do-nyc3-infra do-nyc3-infra-admin
5 do-nyc2-devinfra do-nyc2-devinfra do-nyc2-devinfra-admin
The one with asterisk (do-nyc1-kubernetes-tutorial) is your current cluster. So "kubectl" commands without specified cluster will default to it.