1

I have created an EKS cluster successfully, but while adding a node I am getting the following error-

runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

I am not getting any clue how to rid of this error.

Additional details - Region- us-east-1 Kubernetes Version - 1.20

Please help

David Maze
  • 130,717
  • 29
  • 175
  • 215
Albus
  • 161
  • 3
  • 11
  • Does this answer your question? [Container runtime network not ready: cni config uninitialized](https://stackoverflow.com/questions/49112336/container-runtime-network-not-ready-cni-config-uninitialized) – Flo Jun 25 '21 at 13:19
  • Do you use a Pod network add-on? If so, which one? –  Jun 28 '21 at 05:08

1 Answers1

0

Before creating a node group need to create a CNI role for your cluster. See https://docs.aws.amazon.com/eks/latest/userguide/getting-started-console.html#gs-console-oidc ("Managed nodes – Linux" part, "To create your Amazon EC2 Linux managed node group" topic). Please note that this role is unique for each EKS cluster since it depends from OpenID Connect provider info. Steps 1-3 (from this topic) execution should solve your issue.

ilya
  • 11
  • 2