1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
| [root@kubernetes-master study] namespace/my-namespace unchanged pod/my-nginx created
[root@kubernetes-master study] NAME READY STATUS RESTARTS AGE my-nginx 1/1 Running 0 5m
[root@kubernetes-master study] NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES my-nginx 1/1 Running 0 5m5s 10.10.20.94 kubernetes-node2 <none> <none>
[root@kubernetes-master study] Name: my-nginx Namespace: my-namespace Priority: 0 Service Account: default Node: kubernetes-node2/10.10.10.23 Start Time: Tue, 07 Nov 2023 13:44:13 +0800 Labels: <none> Annotations: cni.projectcalico.org/containerID: b85537817d8aa34f290285bc0386a8bcf893ca5cef0634a63ec83cf0434458dd cni.projectcalico.org/podIP: 10.10.20.94/32 cni.projectcalico.org/podIPs: 10.10.20.94/32 Status: Running IP: 10.10.20.94 IPs: IP: 10.10.20.94 Containers: my-nginx-web: Container ID: docker://42d4eb299157614b733a9c3408d8ed2e106041292a60832c1ac27a85c44a075f Image: daocloud.io/library/nginx Image ID: docker-pullable://daocloud.io/library/nginx@sha256:1a53eb723d17523512bd25c27299046cfa034cce309f4ed330c943a304513f59 Port: 80/TCP Host Port: 0/TCP State: Running Started: Tue, 07 Nov 2023 13:44:44 +0800 Ready: True Restart Count: 0 Environment: <none> Mounts: /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-fdzzt (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: kube-api-access-fdzzt: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: <nil> DownwardAPI: true QoS Class: BestEffort Node-Selectors: <none> Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Pulling 6m7s kubelet Pulling image "daocloud.io/library/nginx" Normal Pulled 5m38s kubelet Successfully pulled image "daocloud.io/library/nginx" in 29.670915109s (29.670934718s including waiting) Normal Created 5m37s kubelet Created container my-nginx-web Normal Started 5m37s kubelet Started container my-nginx-web
|