Rahul:
Events:
Type Reason Age From Message
Normal Scheduled 90s default-scheduler Successfully assigned default/nginx to controlplane
Normal Pulled 86s kubelet Successfully pulled image “busybox” in 274.403168ms
Normal Pulled 67s kubelet Successfully pulled image “busybox” in 16.449396695s
Normal Pulled 52s kubelet Successfully pulled image “busybox” in 149.226397ms
Normal Pulling 24s (x4 over 87s) kubelet Pulling image “busybox”
Normal Pulled 24s kubelet Successfully pulled image “busybox” in 204.030414ms
Normal Created 23s (x4 over 85s) kubelet Created container busybox1
Normal Started 22s (x4 over 84s) kubelet Started container busybox1
Warning BackOff 9s (x7 over 65s) kubelet Back-off restarting failed container
Any idea of error reason ?
POD YAML
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: nginx
name: nginx
spec:
volumes:
- name: myvol
emptyDir: {}
containers:
- image: nginx
name: nginx
volumeMounts:- mountPath: /usr/share/nginx/html
name: myvol
ports: - containerPort: 80
resources: {}
initContainers:
- mountPath: /usr/share/nginx/html
- args:
- /bin/sh
- c
- wget -O /work-dir/index.html http://neverssl.com/online
image: busybox
name: busybox1
volumeMounts:- mountPath: /work-dir
name: myvol
ports:
- mountPath: /work-dir
- containerPort: 80
resources: {}
dnsPolicy: ClusterFirst
restartPolicy: Always
status: {}