Skip to content

Instantly share code, notes, and snippets.

@kkimdev
Created May 27, 2019 20:22
Show Gist options
  • Save kkimdev/fcec5e938d216677f26007116575f33f to your computer and use it in GitHub Desktop.
Save kkimdev/fcec5e938d216677f26007116575f33f to your computer and use it in GitHub Desktop.
$ k3d create
2019/05/27 13:13:37 Created cluster network with ID 07d716f6d7c84190453927137f34678396e1ee9e775f2d7c5855b31841d6e975
2019/05/27 13:13:37 Creating cluster [k3s-default]
2019/05/27 13:13:37 Creating server using docker.io/rancher/k3s:v0.5.0...
2019/05/27 13:13:37 SUCCESS: created cluster [k3s-default]
2019/05/27 13:13:37 You can now use the cluster with:
export KUBECONFIG="$(k3d get-kubeconfig --name='k3s-default')"
kubectl cluster-info
$ export KUBECONFIG="$(k3d get-kubeconfig --name='k3s-default')"
$ kubectl cluster-info
Kubernetes master is running at https://localhost:6443
CoreDNS is running at https://localhost:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
$ kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-695688789-xp9fq 0/1 ContainerCreating 0 8s
kube-system helm-install-traefik-bzwss 0/1 ContainerCreating 0 7s
$ kubectl logs coredns-695688789-xp9fq --namespace kube-system
.:53
2019-05-27T20:14:13.939Z [INFO] CoreDNS-1.3.0
2019-05-27T20:14:13.939Z [INFO] linux/amd64, go1.11.4, c8f0e94
CoreDNS-1.3.0
linux/amd64, go1.11.4, c8f0e94
2019-05-27T20:14:13.939Z [INFO] plugin/reload: Running configuration MD5 = ef347efee19aa82f09972f89f92da1cf
$ kubectl logs coredns-695688789-xp9fq --namespace kube-system
.:53
2019-05-27T20:14:13.939Z [INFO] CoreDNS-1.3.0
2019-05-27T20:14:13.939Z [INFO] linux/amd64, go1.11.4, c8f0e94
CoreDNS-1.3.0
linux/amd64, go1.11.4, c8f0e94
2019-05-27T20:14:13.939Z [INFO] plugin/reload: Running configuration MD5 = ef347efee19aa82f09972f89f92da1cf
E0527 20:14:38.940906 1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:322: Failed to list *v1.Namespace: Get https://10.43.0.1:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp 10.43.0.1:443: i/o timeout
E0527 20:14:38.945890 1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:315: Failed to list *v1.Service: Get https://10.43.0.1:443/api/v1/services?limit=500&resourceVersion=0: dial tcp 10.43.0.1:443: i/o timeout
E0527 20:14:38.946813 1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:317: Failed to list *v1.Endpoints: Get https://10.43.0.1:443/api/v1/endpoints?limit=500&resourceVersion=0: dial tcp 10.43.0.1:443: i/o timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment