728x90
반응형
$ echo $KUBECONFIG
empty
$ kubectl get pods
E1002 10:16:21.854341 105845 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
$ KUBECONFIG=$HOME/.kube/config
$ kubectl get pods
No resources found in default namespace.
728x90
반응형