-
Notifications
You must be signed in to change notification settings - Fork 36
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
Make src/dst checks configurable on awsmachineclass #36
Make src/dst checks configurable on awsmachineclass #36
Comments
I would suggest having this type as With this update, I don't think (need to verify) it will update any existing VMs as we do not update the VMs once created. However, newly created VMs will have this feature enabled. |
/add kind/api-change |
This is related to : gardener/machine-controller-manager#441 .
We have an atomic
How critical is the need at the moment, I'd set the normal priority, for now, please change if otherwise. |
/kind discussion |
If you use AWS cloud-controller-manager (separately or as a legacy part of kube-controller-manager), it'll set this option on every Node. That's why we aren't interested in this feature being part of machine-controller-manager. |
@zuzzas correct me if I am wrong, but isn't this the case only if the cloud-controller is set to configure routes? otherwise, src/destination checks are enabled by default. I guess it would be helpful to have more control over when it is enabled / disabled. |
@zanetworker |
The node roll out can be forced by the gardener-extension-provider-aws here https://github.com/gardener/gardener-extension-provider-aws/blob/09bca6c28530090af970a5aeafbd29fef3b26c21/pkg/controller/worker/machines.go#L307 by including this field in the data for computing the hash. What is not clear to me is whether provider-aws will directly manage this field or the calico extension will implement a mutating webhook to adjust this field? |
@vpnachev yea that was the intention. It would have been great though if you can update without rolling the VM, as this procedure is not disruptive and can be done while the VM is running. Eventually, this is needed for Network config updates, so waiting for the maintenance and the VMs to be rolled can be a bit challenging. |
As discussed overcall. The final approach would be
|
Why do you want to use flag when you can use field in the MachineClass? |
Sorry it was a typo. I mean't to keep it as a field |
…es >= 1.22. Unless explicitly specified, the overlay network is disabled with a mutating webhook for new clusters. This only works for clusters >= 1.22 due to the source/destinations checks being disabled only for those clusters (see gardener/machine-controller-manager-provider-aws#36 for details).
…es >= 1.22. Unless explicitly specified, the overlay network is disabled with a mutating webhook for new clusters. This only works for clusters >= 1.22 due to the source/destinations checks being disabled only for those clusters (see gardener/machine-controller-manager-provider-aws#36 for details).
…es >= 1.22. Unless explicitly specified, the overlay network is disabled with a mutating webhook for new clusters. This only works for clusters >= 1.22 due to the source/destinations checks being disabled only for those clusters (see gardener/machine-controller-manager-provider-aws#36 for details).
What would you like to be added:
To support calico's "CrossSubnet" mode on gardener clusters for provider type
aws
the src and dst checks (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html#EIP_Disable_SrcDestCheck) have to be disabled on machine network interface level. Therefore I would like to expose a field in theawsmachineclass
(https://github.com/gardener/machine-controller-manager/blob/master/pkg/apis/machine/v1alpha1/aws_machineclass_types.go#L179) which contains a boolean value which describes if the src/dst checks on the interface level of the machines are enabled or disabled.I would suggest something like
WDYT?
/cc: @zanetworker
The text was updated successfully, but these errors were encountered: