Skip to content

Instantly share code, notes, and snippets.

@runiq
Created May 16, 2018 07:31
Show Gist options
  • Save runiq/ebc8d82159f464cce3096a15ebe16ba2 to your computer and use it in GitHub Desktop.
Save runiq/ebc8d82159f464cce3096a15ebe16ba2 to your computer and use it in GitHub Desktop.
kubectl describe pod cilium-rdf7b -n kube-system
Name: cilium-rdf7b
Namespace: kube-system
Node: minikube/192.168.122.161
Start Time: Wed, 16 May 2018 09:27:54 +0200
Labels: controller-revision-hash=1419074980
k8s-app=cilium
kubernetes.io/cluster-service=true
pod-template-generation=1
Annotations: prometheus.io/port=9090
prometheus.io/scrape=true
scheduler.alpha.kubernetes.io/critical-pod=
scheduler.alpha.kubernetes.io/tolerations=[{"key":"dedicated","operator":"Equal","value":"master","effect":"NoSchedule"}]
Status: Pending
IP: 192.168.122.161
Controlled By: DaemonSet/cilium
Init Containers:
clean-cilium-state:
Container ID:
Image: busybox
Image ID:
Port: <none>
Host Port: <none>
Command:
sh
-c
if [ "${CLEAN_CILIUM_STATE}" = "true" ]; then rm -rf /var/run/cilium/state; rm -rf /sys/fs/bpf/tc/globals/cilium_*; fi
State: Waiting
Reason: ImageInspectError
Ready: False
Restart Count: 0
Environment:
CLEAN_CILIUM_STATE: <set to the key 'clean-cilium-state' of config map 'cilium-config'> Optional: true
Mounts:
/sys/fs/bpf from bpf-maps (rw)
/var/run/cilium from cilium-run (rw)
/var/run/secrets/kubernetes.io/serviceaccount from cilium-token-92z69 (ro)
Containers:
cilium-agent:
Container ID:
Image: cilium/cilium:latest
Image ID:
Port: 9090/TCP
Host Port: 9090/TCP
Command:
cilium-agent
Args:
--debug=$(CILIUM_DEBUG)
-t=vxlan
--kvstore=etcd
--kvstore-opt=etcd.config=/var/lib/etcd-config/etcd.config
--disable-ipv4=$(DISABLE_IPV4)
State: Waiting
Reason: PodInitializing
Ready: False
Restart Count: 0
Liveness: exec [cilium status] delay=120s timeout=1s period=10s #success=1 #failure=10
Readiness: exec [cilium status] delay=5s timeout=1s period=5s #success=1 #failure=3
Environment:
K8S_NODE_NAME: (v1:spec.nodeName)
CILIUM_DEBUG: <set to the key 'debug' of config map 'cilium-config'> Optional: false
DISABLE_IPV4: <set to the key 'disable-ipv4' of config map 'cilium-config'> Optional: false
CILIUM_SIDECAR_HTTP_PROXY: <set to the key 'sidecar-http-proxy' of config map 'cilium-config'> Optional: true
CILIUM_PROMETHEUS_SERVE_ADDR: <set to the key 'prometheus-serve-addr' of config map 'cilium-metrics-config'> Optional: true
Mounts:
/host/etc/cni/net.d from etc-cni-netd (rw)
/host/opt/cni/bin from cni-path (rw)
/sys/fs/bpf from bpf-maps (rw)
/var/lib/etcd-config from etcd-config-path (ro)
/var/lib/etcd-secrets from etcd-secrets (ro)
/var/run/cilium from cilium-run (rw)
/var/run/docker.sock from docker-socket (ro)
/var/run/secrets/kubernetes.io/serviceaccount from cilium-token-92z69 (ro)
Conditions:
Type Status
Initialized False
Ready False
PodScheduled True
Volumes:
cilium-run:
Type: HostPath (bare host directory volume)
Path: /var/run/cilium
HostPathType:
bpf-maps:
Type: HostPath (bare host directory volume)
Path: /sys/fs/bpf
HostPathType:
docker-socket:
Type: HostPath (bare host directory volume)
Path: /var/run/docker.sock
HostPathType:
cni-path:
Type: HostPath (bare host directory volume)
Path: /opt/cni/bin
HostPathType:
etc-cni-netd:
Type: HostPath (bare host directory volume)
Path: /etc/cni/net.d
HostPathType:
etcd-config-path:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: cilium-config
Optional: false
etcd-secrets:
Type: Secret (a volume populated by a Secret)
SecretName: cilium-etcd-secrets
Optional: false
cilium-token-92z69:
Type: Secret (a volume populated by a Secret)
SecretName: cilium-token-92z69
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: CriticalAddonsOnly
node-role.kubernetes.io/master:NoSchedule
node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule
node.kubernetes.io/disk-pressure:NoSchedule
node.kubernetes.io/memory-pressure:NoSchedule
node.kubernetes.io/not-ready:NoExecute
node.kubernetes.io/unreachable:NoExecute
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulMountVolume 2m kubelet, minikube MountVolume.SetUp succeeded for volume "cni-path"
Normal SuccessfulMountVolume 2m kubelet, minikube MountVolume.SetUp succeeded for volume "cilium-run"
Normal SuccessfulMountVolume 2m kubelet, minikube MountVolume.SetUp succeeded for volume "bpf-maps"
Normal SuccessfulMountVolume 2m kubelet, minikube MountVolume.SetUp succeeded for volume "docker-socket"
Normal SuccessfulMountVolume 2m kubelet, minikube MountVolume.SetUp succeeded for volume "etc-cni-netd"
Normal SuccessfulMountVolume 2m kubelet, minikube MountVolume.SetUp succeeded for volume "etcd-config-path"
Normal SuccessfulMountVolume 2m kubelet, minikube MountVolume.SetUp succeeded for volume "etcd-secrets"
Normal SuccessfulMountVolume 2m kubelet, minikube MountVolume.SetUp succeeded for volume "cilium-token-92z69"
Warning InspectFailed 1m (x8 over 2m) kubelet, minikube Failed to inspect image "busybox": rpc error: code = Unknown desc = no registries configured while trying to pull an unqualified image
Warning Failed 55s (x9 over 2m) kubelet, minikube Error: ImageInspectError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment