there will be error when namespace contains character "-" eg: # kubectl debug xxx -n sh3-abc # cannot create resource "pods" in API group "" in the namespace "default"
there will be error when namespace contains character "-"
eg:
kubectl debug xxx -n sh3-abc
cannot create resource "pods" in API group "" in the namespace "default"