Skip to content

Instantly share code, notes, and snippets.

@chopmann
Last active June 21, 2019 10:42
Show Gist options
  • Save chopmann/191fe111ede06a635fcdedf9e1e70714 to your computer and use it in GitHub Desktop.
Save chopmann/191fe111ede06a635fcdedf9e1e70714 to your computer and use it in GitHub Desktop.
kubectl logs pod/cilium-operator-95ddbb5fc-hh8d7 -n kube-system --timestamps --previous
2019-06-21T12:32:45.954299666+02:00 level=debug msg="os.Hostname() returned" nodeName=cilium-operator-95ddbb5fc-hh8d7 subsys=node
2019-06-21T12:32:45.955297435+02:00 level=info msg="Cilium Operator " subsys=cilium-operator
2019-06-21T12:32:45.955469779+02:00 level=info msg="Starting apiserver on address :9234" subsys=cilium-operator
2019-06-21T12:32:45.956443761+02:00 level=info msg="Connecting to etcd server..." config=/var/lib/etcd-config/etcd.config endpoints="[https://cilium-etcd-client.kube-system.svc:2379]" subsys=kvstore
2019-06-21T12:32:45.956624631+02:00 level=debug msg="Starting new controller" name=kvstore-etcd-session-renew subsys=controller uuid=e89d7aaa-940f-11e9-89bc-724e04e7d0fc
2019-06-21T12:32:45.958075009+02:00 level=info msg="Establishing connection to apiserver" host="https://10.43.0.1:443" subsys=k8s
2019-06-21T12:32:50.957829081+02:00 level=debug msg="Checking status to etcd endpoint https://cilium-etcd-client.kube-system.svc:2379" config=/var/lib/etcd-config/etcd.config endpoints="[https://cilium-etcd-client.kube-system.svc:2379]" subsys=kvstore
2019-06-21T12:33:05.958857999+02:00 level=debug msg="Checking status to etcd endpoint https://cilium-etcd-client.kube-system.svc:2379" config=/var/lib/etcd-config/etcd.config endpoints="[https://cilium-etcd-client.kube-system.svc:2379]" subsys=kvstore
2019-06-21T12:33:20.958990594+02:00 level=debug msg="Checking status to etcd endpoint https://cilium-etcd-client.kube-system.svc:2379" config=/var/lib/etcd-config/etcd.config endpoints="[https://cilium-etcd-client.kube-system.svc:2379]" subsys=kvstore
2019-06-21T12:33:20.959048173+02:00 level=info msg="Establishing connection to apiserver" host="https://10.43.0.1:443" subsys=k8s
2019-06-21T12:33:35.959705344+02:00 level=debug msg="Checking status to etcd endpoint https://cilium-etcd-client.kube-system.svc:2379" config=/var/lib/etcd-config/etcd.config endpoints="[https://cilium-etcd-client.kube-system.svc:2379]" subsys=kvstore
2019-06-21T12:33:50.959435445+02:00 level=error msg="Unable to contact k8s api-server" error="Get https://10.43.0.1:443/api/v1/componentstatuses/controller-manager: dial tcp 10.43.0.1:443: i/o timeout" ipAddr="https://10.43.0.1:443" subsys=k8s
2019-06-21T12:33:50.95945981+02:00 level=fatal msg="Unable to connect to Kubernetes apiserver" error="unable to create k8s client: unable to create k8s client: Get https://10.43.0.1:443/api/v1/componentstatuses/controller-manager: dial tcp 10.43.0.1:443: i/o timeout" subsys=cilium-operator
root@controller-0:~# sudo kubectl get pods,svc --all-namespaces -o wide
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
kube-system pod/cilium-etcd-gtb4wlzl25 1/1 Running 0 19h 10.42.2.3 worker-1 <none> <none>
kube-system pod/cilium-etcd-h62ftsprmk 1/1 Running 0 19h 10.42.1.4 worker-0 <none> <none>
kube-system pod/cilium-etcd-lkmfwc8lww 1/1 Running 0 19h 10.42.3.5 worker-2 <none> <none>
kube-system pod/cilium-etcd-operator-7646c97877-xprjf 1/1 Running 0 51m 10.0.10.213 worker-2 <none> <none>
kube-system pod/cilium-g8lqg 0/1 Running 10 51m 10.0.10.203 worker-0 <none> <none>
kube-system pod/cilium-operator-95ddbb5fc-hh8d7 0/1 CrashLoopBackOff 8 27m 10.42.0.31 controller-0 <none> <none>
kube-system pod/cilium-qzcfg 0/1 Running 10 51m 10.0.10.201 controller-0 <none> <none>
kube-system pod/cilium-twmnj 0/1 Running 10 51m 10.0.10.213 worker-2 <none> <none>
kube-system pod/cilium-v7zgs 0/1 Running 10 51m 10.0.10.202 worker-1 <none> <none>
kube-system pod/coredns-695688789-fbvrc 0/1 CrashLoopBackOff 15 59m 10.42.2.21 worker-1 <none> <none>
kube-system pod/etcd-operator-797978964-xthd8 1/1 Running 0 51m 10.42.1.23 worker-0 <none> <none>
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
default service/kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 19h <none>
kube-system service/cilium-etcd ClusterIP None <none> 2379/TCP,2380/TCP 19h app=etcd,etcd_cluster=cilium-etcd
kube-system service/cilium-etcd-client ClusterIP 10.43.229.165 <none> 2379/TCP 19h app=etcd,etcd_cluster=cilium-etcd
kube-system service/kube-dns ClusterIP 10.43.0.10 <none> 53/UDP,53/TCP,9153/TCP 19h k8s-app=kube-dns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment