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

aws-network-policy-agent is not pre-loaded in the latest AMI #2538

Closed
tvizor opened this issue Sep 1, 2023 · 3 comments
Closed

aws-network-policy-agent is not pre-loaded in the latest AMI #2538

tvizor opened this issue Sep 1, 2023 · 3 comments
Labels

Comments

@tvizor
Copy link

tvizor commented Sep 1, 2023

What happened:
aws-network-policy-agent image is not preloaded on the latest AL2 EKS optimized AMI. As per awslabs/amazon-eks-ami#938 other images are preloaded to speedup node start.

Node start times increased with the latest version of the addon.

VPC CNI Plugin events:

Events:
  Type    Reason     Age   From               Message
  ----    ------     ----  ----               -------
  Normal  Scheduled  2m4s  default-scheduler  Successfully assigned kube-system/aws-node-<redacted> to <redacted>
  Normal  Pulled     2m3s  kubelet            Container image "602401143452.dkr.ecr.us-east-1.amazonaws.com/amazon-k8s-cni-init:v1.14.0-eksbuild.3" already present on machine
  Normal  Created    114s  kubelet            Created container aws-vpc-cni-init
  Normal  Started    114s  kubelet            Started container aws-vpc-cni-init
  Normal  Pulled     71s   kubelet            Container image "602401143452.dkr.ecr.us-east-1.amazonaws.com/amazon-k8s-cni:v1.14.0-eksbuild.3" already present on machine
  Normal  Created    70s   kubelet            Created container aws-node
  Normal  Started    70s   kubelet            Started container aws-node
  Normal  Pulling    70s   kubelet            Pulling image "602401143452.dkr.ecr.us-east-1.amazonaws.com/amazon/aws-network-policy-agent:v1.0.1-eksbuild.1"
  Normal  Pulled     16s   kubelet            Successfully pulled image "602401143452.dkr.ecr.us-east-1.amazonaws.com/amazon/aws-network-policy-agent:v1.0.1-eksbuild.1" in 53.831843277s (53.83185942s including waiting)
  Normal  Created    13s   kubelet            Created container aws-eks-nodeagent

What you expected to happen:

Image aws-network-policy-agent will be preloaded on the latest AMI, as other components of AWS VPC CNI plugin.

How to reproduce it (as minimally and precisely as possible):

Start a new node. Describe newly created aws-node pod.

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version): 1.27
  • CNI Version: v1.14.0-eksbuild.3
  • OS (e.g: cat /etc/os-release): Amazon Linux 2
  • Kernel (e.g. uname -a): 5.10.186-179.751.amzn2.x86_64
@tvizor tvizor added the bug label Sep 1, 2023
@jdn5126
Copy link
Contributor

jdn5126 commented Sep 1, 2023

@tvizor this looks like a good issue for https://github.com/awslabs/amazon-eks-ami/issues. The VPC CNI repo does not have any control there

@jdn5126 jdn5126 closed this as completed Sep 1, 2023
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@tvizor
Copy link
Author

tvizor commented Sep 1, 2023

submitted awslabs/amazon-eks-ami#1417

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

No branches or pull requests

2 participants