1

Pod のステータスは常に保留中です。ローカルで Kind を使用して Kubernetes を学習し、Pod を 1 つ上げようとしています。

❯ kubectl get pods             
NAME       READY   STATUS    RESTARTS   AGE
goserver   0/1     Pending   0          12m

describe からのイベントはありません。

❯ kubectl describe pod goserver
Name:         goserver
Namespace:    default
Priority:     0
Node:         <none>
Labels:       app=goserver
Annotations:  <none>
Status:       Pending
IP:           
IPs:          <none>
Containers:
  goserver:
    Image:        allansduarte/hellogo
    Port:         <none>
    Host Port:    <none>
    Environment:  <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-rjkmz (ro)
Volumes:
  kube-api-access-rjkmz:
    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:                      <none>

ログなし。

❯ kubectl logs goserver

Kubernetes システム ログ。

❯ kubectl get pod -n kube-system
NAME                                              READY   STATUS    RESTARTS   AGE
coredns-558bd4d5db-62bbj                          1/1     Running   5          10d
coredns-558bd4d5db-zk9rw                          1/1     Running   5          10d
etcd-fullcycle-control-plane                      1/1     Running   0          95m
kindnet-66c9q                                     1/1     Running   5          10d
kindnet-6wfzg                                     1/1     Running   5          10d
kindnet-sklzj                                     1/1     Running   5          10d
kindnet-xjh4p                                     1/1     Running   5          10d
kube-apiserver-fullcycle-control-plane            1/1     Running   0          95m
kube-controller-manager-fullcycle-control-plane   1/1     Running   8          10d
kube-proxy-cdzrj                                  1/1     Running   5          10d
kube-proxy-jphsn                                  1/1     Running   5          10d
kube-proxy-mhdtt                                  1/1     Running   5          10d
kube-proxy-x8jbm                                  1/1     Running   5          10d
kube-scheduler-fullcycle-control-plane            1/1     Running   8          10d

調査を続けるための提案はありますか?

4

1 に答える 1