This message was deleted.
# k3s
a
This message was deleted.
1
b
Copy code
kubectl describe pod rancher-7b9b4d7bff-nwc26 -n cattle-system                                                        ✔  at default ⎈  at 03:45:13 AM
Name:                 rancher-7b9b4d7bff-nwc26
Namespace:            cattle-system
Priority:             1000000000
Priority Class Name:  rancher-critical
Node:                 <none>
Labels:               app=rancher
                      pod-template-hash=7b9b4d7bff
                      release=rancher
Annotations:          <none>
Status:               Pending
IP:
IPs:                  <none>
Controlled By:        ReplicaSet/rancher-7b9b4d7bff
Containers:
  rancher:
    Image:      rancher/rancher:v2.7.4
    Port:       80/TCP
    Host Port:  0/TCP
    Args:
      --no-cacerts
      --http-listen-port=80
      --https-listen-port=443
      --add-local=true
    Liveness:   http-get http://:80/healthz delay=60s timeout=1s period=30s #success=1 #failure=3
    Readiness:  http-get http://:80/healthz delay=5s timeout=1s period=30s #success=1 #failure=3
    Environment:
      CATTLE_NAMESPACE:           cattle-system
      CATTLE_PEER_SERVICE:        rancher
      CATTLE_BOOTSTRAP_PASSWORD:  <set to the key 'bootstrapPassword' in secret 'bootstrap-secret'>  Optional: false
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-b7rrk (ro)
Conditions:
  Type           Status
  PodScheduled   False
Volumes:
  kube-api-access-b7rrk:
    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:                 <http://cattle.io/os=linux:NoSchedule|cattle.io/os=linux:NoSchedule>
                             <http://node.kubernetes.io/not-ready:NoExecute|node.kubernetes.io/not-ready:NoExecute> op=Exists for 300s
                             <http://node.kubernetes.io/unreachable:NoExecute|node.kubernetes.io/unreachable:NoExecute> op=Exists for 300s
Events:
  Type     Reason            Age    From               Message
  ----     ------            ----   ----               -------
  Warning  FailedScheduling  2m36s  default-scheduler  no nodes available to schedule pods
  Warning  FailedScheduling  2m34s  default-scheduler  no nodes available to schedule pods
a restart of the kubelet on the master did the trick.