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
helm/azure: Fatal error for CNI Azure installation #13024
Conversation
28c95c5
to
9a9b6ac
Compare
6027208
to
9ecddc5
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.
LGTM pending one question.
@@ -66,7 +66,7 @@ Deploy Cilium release via Helm: | |||
--set global.cni.chainingMode=generic-veth \\ | |||
--set global.cni.customConf=true \\ | |||
--set global.nodeinit.enabled=true \\ | |||
--set global.azure.enabled=true \\ | |||
--set nodeinit.azure=true \\ |
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.
Do we still need to set global.azure.enabled
also?
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.
Setting global.azure.enabled=true
will change operator image to cilium-operator-azure
as per https://github.com/cilium/cilium/blob/master/install/kubernetes/cilium/charts/operator/templates/deployment.yaml#L60. And cilium-operator-azure
only allows ipam.azure
mode.
Understand that global.azure.enabled
might cause some confusion, keen to hear your input to make it clearer as well as backward compatible.
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.
How about we rename .azure
in nodeinit to .expect-azure-vnet
or similar to make it more clear?
And then maybe add an additional comment on the of this value the about its use-case? AFAIU, this is when we want to use azure but without using cilium-operator-azure
that only allows ipam.azure
.
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.
@kkourt 's suggestion seems reasonable. Other than that, makes sense, sounds like this should resolve the error in Azure chaining guide.
Setting `global.azure.enabled` will change operator image to `operator-azure`, which only accepts azure IPAM, and throw fatal error for `cluster-pool`. This PR is to enable node init to wait for azure vnet for both cases (e.g. CNI and Azure IPAM) Closes cilium#13023 Signed-off-by: Tam Mach <sayboras@yahoo.com>
9ecddc5
to
b4c0ea5
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.
Thanks!
Setting
global.azure.enabled
will change operator image tooperator-azure
, which only accepts azure IPAM, and throwfatal error for
cluster-pool
.This PR is to enable node init azure step for both cases (e.g. CNI
and Azure IPAM)
Closes #13023
Signed-off-by: Tam Mach sayboras@yahoo.com
TODO
Testing Azure CNI Chaining