Skip to content

Instantly share code, notes, and snippets.

@piengeng
Created April 5, 2020 12:16
Show Gist options
  • Select an option

  • Save piengeng/27df8a02b363993d822cc57fc9103509 to your computer and use it in GitHub Desktop.

Select an option

Save piengeng/27df8a02b363993d822cc57fc9103509 to your computer and use it in GitHub Desktop.
describe po/calico-node-l8lqw
$ kc describe po/calico-node-l8lqw
Name: calico-node-l8lqw
Namespace: calico-system
Priority: 2000001000
Priority Class Name: system-node-critical
Node: kw2.home/192.168.1.71
Start Time: Sun, 05 Apr 2020 20:05:45 +0800
Labels: controller-revision-hash=849976b89f
k8s-app=calico-node
pod-template-generation=1
Annotations: scheduler.alpha.kubernetes.io/critical-pod:
Status: Running
IP: 192.168.1.71
IPs:
IP: 192.168.1.71
Controlled By: DaemonSet/calico-node
Init Containers:
upgrade-ipam:
Container ID: docker://482089d70265d1e911d9341db9a521a4214eaaec9fd48d3f2ffdb673b2709776
Image: calico/cni:v3.13.2
Image ID: docker-pullable://calico/cni@sha256:bbf7e3ac3f80d0a356a6c27b095bd313d1106f8ed84f85850816ed79295843c1
Port: <none>
Host Port: <none>
Command:
/opt/cni/bin/calico-ipam
-upgrade
State: Terminated
Reason: Completed
Exit Code: 0
Started: Sun, 05 Apr 2020 20:05:45 +0800
Finished: Sun, 05 Apr 2020 20:05:45 +0800
Ready: True
Restart Count: 0
Environment:
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false
Mounts:
/host/opt/cni/bin from cni-bin-dir (rw)
/var/lib/cni/networks from host-local-net-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-mldrk (ro)
install-cni:
Container ID: docker://b56b49502f7c886979367b8361c5f024674cf790122e267e1e01e5d71ef07065
Image: calico/cni:v3.13.2
Image ID: docker-pullable://calico/cni@sha256:bbf7e3ac3f80d0a356a6c27b095bd313d1106f8ed84f85850816ed79295843c1
Port: <none>
Host Port: <none>
Command:
/install-cni.sh
State: Terminated
Reason: Completed
Exit Code: 0
Started: Sun, 05 Apr 2020 20:05:46 +0800
Finished: Sun, 05 Apr 2020 20:05:46 +0800
Ready: True
Restart Count: 0
Environment:
CNI_CONF_NAME: 10-calico.conflist
CNI_NETWORK_CONFIG: <set to the key 'cni_network_config' of config map 'calico-config'> Optional: false
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
CNI_MTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
SLEEP: false
Mounts:
/host/etc/cni/net.d from cni-net-dir (rw)
/host/opt/cni/bin from cni-bin-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-mldrk (ro)
flexvol-driver:
Container ID: docker://fd5e95b4c110c866f28a048e96f008e5bd5ac318e020688eac678dd66afe7119
Image: calico/pod2daemon-flexvol:v3.13.2
Image ID: docker-pullable://calico/pod2daemon-flexvol@sha256:0022da5a9a89512f8a117f12d2088b3f1f8f22c094ee15aae24d58085f2c186a
Port: <none>
Host Port: <none>
State: Terminated
Reason: Completed
Exit Code: 0
Started: Sun, 05 Apr 2020 20:05:47 +0800
Finished: Sun, 05 Apr 2020 20:05:47 +0800
Ready: True
Restart Count: 0
Environment: <none>
Mounts:
/host/driver from flexvol-driver-host (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-mldrk (ro)
Containers:
calico-node:
Container ID: docker://06da01a08f7f10f95d036ca636fa2c52532c18c42d7e456d77f12dbbddc1b5d5
Image: calico/node:v3.13.2
Image ID: docker-pullable://calico/node@sha256:cb9dea7b86471c71925ae318f7c60af72d9ddf1dab0fe2029832a671b83bba6a
Port: <none>
Host Port: <none>
State: Running
Started: Sun, 05 Apr 2020 20:05:48 +0800
Ready: False
Restart Count: 0
Requests:
cpu: 250m
Liveness: exec [/bin/calico-node -felix-live -bird-live] delay=10s timeout=1s period=10s #success=1 #failure=6
Readiness: exec [/bin/calico-node -felix-ready -bird-ready] delay=0s timeout=1s period=10s #success=1 #failure=3
Environment:
DATASTORE_TYPE: kubernetes
WAIT_FOR_DATASTORE: true
NODENAME: (v1:spec.nodeName)
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false
CLUSTER_TYPE: k8s,bgp
IP: autodetect
CALICO_IPV4POOL_IPIP: Always
FELIX_IPINIPMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
CALICO_IPV4POOL_CIDR: 10.244.0.0/16
CALICO_DISABLE_FILE_LOGGING: true
FELIX_DEFAULTENDPOINTTOHOSTACTION: ACCEPT
FELIX_IPV6SUPPORT: false
FELIX_LOGSEVERITYSCREEN: info
FELIX_HEALTHENABLED: true
Mounts:
/lib/modules from lib-modules (ro)
/run/xtables.lock from xtables-lock (rw)
/var/lib/calico from var-lib-calico (rw)
/var/run/calico from var-run-calico (rw)
/var/run/nodeagent from policysync (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-mldrk (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
lib-modules:
Type: HostPath (bare host directory volume)
Path: /lib/modules
HostPathType:
var-run-calico:
Type: HostPath (bare host directory volume)
Path: /var/run/calico
HostPathType:
var-lib-calico:
Type: HostPath (bare host directory volume)
Path: /var/lib/calico
HostPathType:
xtables-lock:
Type: HostPath (bare host directory volume)
Path: /run/xtables.lock
HostPathType: FileOrCreate
cni-bin-dir:
Type: HostPath (bare host directory volume)
Path: /opt/cni/bin
HostPathType:
cni-net-dir:
Type: HostPath (bare host directory volume)
Path: /etc/cni/net.d
HostPathType:
host-local-net-dir:
Type: HostPath (bare host directory volume)
Path: /var/lib/cni/networks
HostPathType:
policysync:
Type: HostPath (bare host directory volume)
Path: /var/run/nodeagent
HostPathType: DirectoryOrCreate
flexvol-driver-host:
Type: HostPath (bare host directory volume)
Path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds
HostPathType: DirectoryOrCreate
calico-node-token-mldrk:
Type: Secret (a volume populated by a Secret)
SecretName: calico-node-token-mldrk
Optional: false
QoS Class: Burstable
Node-Selectors: kubernetes.io/os=linux
Tolerations: :NoSchedule
:NoExecute
CriticalAddonsOnly
node.kubernetes.io/disk-pressure:NoSchedule
node.kubernetes.io/memory-pressure:NoSchedule
node.kubernetes.io/network-unavailable:NoSchedule
node.kubernetes.io/not-ready:NoExecute
node.kubernetes.io/pid-pressure:NoSchedule
node.kubernetes.io/unreachable:NoExecute
node.kubernetes.io/unschedulable:NoSchedule
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Pulled 9m41s kubelet, kw2.home Container image "calico/cni:v3.13.2" already present on machine
Normal Created 9m41s kubelet, kw2.home Created container upgrade-ipam
Normal Started 9m41s kubelet, kw2.home Started container upgrade-ipam
Normal Pulled 9m41s kubelet, kw2.home Container image "calico/cni:v3.13.2" already present on machine
Normal Created 9m41s kubelet, kw2.home Created container install-cni
Normal Scheduled 9m41s default-scheduler Successfully assigned calico-system/calico-node-l8lqw to kw2.home
Normal Started 9m40s kubelet, kw2.home Started container install-cni
Normal Pulled 9m40s kubelet, kw2.home Container image "calico/pod2daemon-flexvol:v3.13.2" already present on machine
Normal Created 9m39s kubelet, kw2.home Created container flexvol-driver
Normal Started 9m39s kubelet, kw2.home Started container flexvol-driver
Normal Started 9m38s kubelet, kw2.home Started container calico-node
Normal Pulled 9m38s kubelet, kw2.home Container image "calico/node:v3.13.2" already present on machine
Normal Created 9m38s kubelet, kw2.home Created container calico-node
Warning Unhealthy 9m37s kubelet, kw2.home Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/bird/bird.ctl: connect: no such file or directory
Warning Unhealthy 9m27s kubelet, kw2.home Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 192.168.1.60,192.168.1.70,192.168.1.722020-04-05 12:05:59.563 [INFO][165] health.go 156: Number of node(s) with BGP peering established = 0
Warning Unhealthy 9m17s kubelet, kw2.home Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 192.168.1.60,192.168.1.70,192.168.1.722020-04-05 12:06:09.562 [INFO][204] health.go 156: Number of node(s) with BGP peering established = 0
Warning Unhealthy 9m7s kubelet, kw2.home Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 192.168.1.60,192.168.1.70,192.168.1.722020-04-05 12:06:19.564 [INFO][234] health.go 156: Number of node(s) with BGP peering established = 0
Warning Unhealthy 8m57s kubelet, kw2.home Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 192.168.1.60,192.168.1.70,192.168.1.722020-04-05 12:06:29.563 [INFO][273] health.go 156: Number of node(s) with BGP peering established = 0
Warning Unhealthy 8m47s kubelet, kw2.home Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 192.168.1.60,192.168.1.70,192.168.1.722020-04-05 12:06:39.564 [INFO][304] health.go 156: Number of node(s) with BGP peering established = 0
Warning Unhealthy 8m37s kubelet, kw2.home Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 192.168.1.60,192.168.1.70,192.168.1.722020-04-05 12:06:49.564 [INFO][337] health.go 156: Number of node(s) with BGP peering established = 0
Warning Unhealthy 8m27s kubelet, kw2.home Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 192.168.1.60,192.168.1.70,192.168.1.722020-04-05 12:06:59.567 [INFO][376] health.go 156: Number of node(s) with BGP peering established = 0
Warning Unhealthy 8m17s kubelet, kw2.home Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 192.168.1.60,192.168.1.70,192.168.1.722020-04-05 12:07:09.565 [INFO][408] health.go 156: Number of node(s) with BGP peering established = 0
Warning Unhealthy 4m37s (x22 over 8m7s) kubelet, kw2.home (combined from similar events): Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 192.168.1.60,192.168.1.70,192.168.1.722020-04-05 12:10:49.564 [INFO][1117] health.go 156: Number of node(s) with BGP peering established = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment