-
Notifications
You must be signed in to change notification settings - Fork 1
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 Networks
to InfrastructureConfig
#88
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General question: What should happen with this Infrastructure
configuration? Is somebody creating a Network
with a given ID? How is the link between the machine configuration and the Workers
CIDRs configured here? Would it make sense to have the Worker CIDR configured for each worker pool e.g. here: https://github.com/gardener/gardener/blob/master/example/90-shoot.yaml#L66
We should only put into the |
To update `Infrastructure.status.networking.nodes` which will propagate to `Shoot.status.networking.nodes`
9f3eb58
to
32a37b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @afritzler. My gut feeling sees the CIDR for workers on the worker pool as well. Does the provider extension contract have a strong opinion here? Edit: Seems so, the field we're interested in is part of the Infrastructure
resource
Would it make sense to validate that the worker pool cidr is part of .spec.networking.nodes
?
@Nuckal777 Shoot Also this field is planned to be deprecated. To solve this issue for us today, our extension would update Infrastructure Since networks and their details (CIDR, ID=vlan id) are already defined in
|
I had a short alignment with @afritzler and @ScheererJ. The network configuration can stay as is in the |
Sure, I think this also matches the example 2 messages above. Should we leave the worker pool config to its own PR when we figure out how the IPAM will look like? |
@afritzler I think you need to give this PR a green stamp. |
Proposed Changes
Infrastructure.spec.networks
defines all networks and their entities in the infra.Infrastructure.status.networking.nodes
withInfrastructure.spec.networks.cidr
which will propagate toShoot.status.networking.nodes
.Infrastructure.spec.networks.name
can be referenced byWorkerConfig
to signal IPAM implementation which CIDR to use for IP assignment from pool.Fixes #82