Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to create pod sandbox: invalid CIDR address #39

Open
bolecodex opened this issue Feb 24, 2023 · 0 comments
Open

Failed to create pod sandbox: invalid CIDR address #39

bolecodex opened this issue Feb 24, 2023 · 0 comments

Comments

@bolecodex
Copy link

bolecodex commented Feb 24, 2023

Hi community,

I have met the following problem at the last step. Does someone know how to work around it?

Many Thanks
Weibo

Administrator:~/environment $ kubectl get pods -l app=nginxNAME                     READY   STATUS              RESTARTS   AGE
nginx-6799fc88d8-9rqnj   0/1     ContainerCreating   0          7m56s

Administrator:~/environment $  kubectl describe pod nginx-6799fc88d8-9rqnjName:           nginx-6799fc88d8-9rqnj
Namespace:      default
Priority:       0
Node:           ip-10-0-1-22/10.0.1.22
Start Time:     Fri, 24 Feb 2023 23:06:49 +0000
Labels:         app=nginx
                pod-template-hash=6799fc88d8
Annotations:    <none>
Status:         Pending
IP:             
IPs:            <none>
Controlled By:  ReplicaSet/nginx-6799fc88d8
Containers:
  nginx:
    Container ID:   
    Image:          nginx
    Image ID:       
    Port:           <none>
    Host Port:      <none>
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-4spk9 (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             False 
  ContainersReady   False 
  PodScheduled      True 
Volumes:
  kube-api-access-4spk9:
    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   Scheduled               8m3s                    default-scheduler  Successfully assigned default/nginx-6799fc88d8-9rqnj to ip-10-0-1-22
  Warning  FailedCreatePodSandBox  8m3s                    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "8eb840c025368927a33b29fce47731fbf3113f3ef7d5e614fa4d896cd70bef13": invalid CIDR address:
  Warning  FailedCreatePodSandBox  7m52s                   kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "6854f4c1599233e6714ee46f4c5778ef34536ec2867cdad0c04d69c061a5ab12": invalid CIDR address:
  Warning  FailedCreatePodSandBox  7m40s                   kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "090f853a5cd89433b37a9415f4b7d67e95e5b31846aabbe56bac5273240f82d5": invalid CIDR address:
  Warning  FailedCreatePodSandBox  7m28s                   kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "9f7eb5c84fcafbeee9ab5f663a8fb829ef8e5d5983d3953f484f7f3819832d09": invalid CIDR address:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant