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

Daemonset pods still get IPs from primary subnets #3110

Closed
neilharris123 opened this issue Nov 11, 2024 · 3 comments
Closed

Daemonset pods still get IPs from primary subnets #3110

neilharris123 opened this issue Nov 11, 2024 · 3 comments
Labels

Comments

@neilharris123
Copy link

I enabled custom networking in my cluster so that my pods would receive IP addresses from some secondary subnets I added from a secondary VPC CIDR.
This worked for most pods (adn deployment and statefulsets), however, I noticed that daemonset pods were still assigned IP addresses from the primary subnets where the node gets its IP address from.

I recycled all nodes, and this is still the case.

Is this expected behaviour, or have I missed something?

Environment:

  • Kubernetes version: 1.29
  • CNI Version: v1.18.5-eksbuild.1
@orsenthil
Copy link
Member

Do you see any errors in plugin.log or ipamd.log ?

I noticed that daemonset pods were still assigned IP addresses from the primary subnets where the node gets its IP address from.

Are they hostNetworking pods by any chance?

Custom networking ip assignment should not depend on the kind of the resource (Deployment or Daemonset).

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 Jan 20, 2025
Copy link

github-actions bot commented Feb 3, 2025

Issue closed due to inactivity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2025
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