kubeedge / examples

Examples for KubeEdge
Apache License 2.0
246 stars 171 forks source link

kubeedge-pi-counter-784d57c5d4-d7tw7 0/1 ContainerCreating #108

Closed EthanAlban closed 3 years ago

EthanAlban commented 3 years ago

NAME READY STATUS RESTARTS AGE kubeedge-counter-app-6984dcb4dd-4jdk6 1/1 Running 0 47m kubeedge-pi-counter-784d57c5d4-d7tw7 0/1 ContainerCreating 0 47m

[root@cloud-master1 crds]# kubectl get pod kubeedge-pi-counter-784d57c5d4-d7tw7 -oyaml apiVersion: v1 kind: Pod metadata: creationTimestamp: "2021-11-03T02:22:58Z" generateName: kubeedge-pi-counter-784d57c5d4- labels: k8s-app: kubeedge-pi-counter pod-template-hash: 784d57c5d4 managedFields:

[root@cloud-master1 crds]# kubectl describe pod kubeedge-pi-counter-784d57c5d4-d7tw7 Name: kubeedge-pi-counter-784d57c5d4-d7tw7 Namespace: default Priority: 0 Node: edge-mini-1/192.168.1.40 Start Time: Wed, 03 Nov 2021 10:24:31 +0800 Labels: k8s-app=kubeedge-pi-counter pod-template-hash=784d57c5d4 Annotations: Status: Pending IP: 192.168.1.40 IPs: IP: 192.168.1.40 Controlled By: ReplicaSet/kubeedge-pi-counter-784d57c5d4 Containers: kubeedge-pi-counter: Container ID:
Image: kubeedge/kubeedge-pi-counter:v1.0.0 Image ID:
Port: Host Port: State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Environment: Mounts: /var/run/secrets/kubernetes.io/serviceaccount from default-token-6wchc (ro) Conditions: Type Status Initialized True Ready False PodScheduled True Volumes: default-token-6wchc: Type: Secret (a volume populated by a Secret) SecretName: default-token-6wchc Optional: false QoS Class: BestEffort Node-Selectors: node-role.kubernetes.io/edge= Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s node.kubernetes.io/unreachable:NoExecute for 300s Events: Type Reason Age From Message


Warning FailedScheduling default-scheduler 0/5 nodes are available: 1 node(s) didn't match node selector, 4 node(s) had taint {node.kubernetes.io/unreachable: }, that the pod didn't tolerate. Warning FailedScheduling default-scheduler 0/5 nodes are available: 1 node(s) didn't match node selector, 4 node(s) had taint {node.kubernetes.io/unreachable: }, that the pod didn't tolerate. Normal Scheduled default-scheduler Successfully assigned default/kubeedge-pi-counter-784d57c5d4-d7tw7 to edge-mini-1

EthanAlban commented 3 years ago

the images should be in edge node