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

Add support for NetworkUnavailable node condition #2274

Closed
nicolas-goudry opened this issue Feb 20, 2023 · 13 comments
Closed

Add support for NetworkUnavailable node condition #2274

nicolas-goudry opened this issue Feb 20, 2023 · 13 comments

Comments

@nicolas-goudry
Copy link

What would you like to be added:

Set the NetworkUnavailable condition on Nodes when the CNI comes up or goes down.

Why is this needed:

With this condition, it would be easier to tell when there is an issue with the CNI.


Reference discussion

@KR411-prog
Copy link

I want to work on this issue. Could you assign it to me?

@jdn5126
Copy link
Contributor

jdn5126 commented Feb 22, 2023

@KR411-prog thank you for the help! It is fine to work on while unassigned, feel free to post a PR whenever or lmk if you want to discuss

@KR411-prog
Copy link

sure..

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Apr 24, 2023
@jdn5126 jdn5126 removed the stale Issue or PR is stale label Apr 24, 2023
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Jun 24, 2023
@jdn5126 jdn5126 removed the stale Issue or PR is stale label Jun 26, 2023
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Aug 26, 2023
@dougbyrne
Copy link
Contributor

Please unstale

@jdn5126 jdn5126 removed the stale Issue or PR is stale label Aug 28, 2023
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Oct 28, 2023
@jdn5126 jdn5126 removed the stale Issue or PR is stale label Oct 30, 2023
@bawejahritik
Copy link

I'd like to work on this, can you please point me to the starting point

@antoineDievDecath
Copy link

Hey @jdn5126,

Can you tell us if this feature is in your roadmap ?
Since latest versions VPC-CNI is taking more time to start, sometimes I can see pods be scheduled and started before aws-node became totally ready.
In my opinion pod shouldn't be scheduled on node as long as the VPC-CNI isn't ready.

@jdn5126
Copy link
Contributor

jdn5126 commented Jan 4, 2024

@antoineDievDecath this issue is not currently on our roadmap, and I do not believe it will be anytime soon, unfortunately.

For pod scheduling, the node will not be marked as ready until the CNI conflist is copied to /etc/cni/net.d/10-aws.conflist. When upgrading the aws-node image, there will be a period where pods are waiting for the CNI to finish initialization, since the conflist already exists.

I am surprised to hear you say the latest version is taking more time to startup. Which versions are you comparing? Internally, we see the startup time has greatly decreased in the latest versions. It should be less than a second.

@jchen6585
Copy link
Contributor

This issue cannot be fixed through aws-node pod as VPC-CNI does not have permissions to patch the node for security reasons. https://github.com/aws/amazon-vpc-cni-k8s/blob/master/config/master/aws-k8s-cni.yaml#L317

Copy link

⚠️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.

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

No branches or pull requests

8 participants