get k8s config cluster name code example Example: kubectl list context # list kubernets contexts kubectl config get-contexts