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
fix(clusterpools): cluster-pool-ipv4-cidr/cluster-pool-ipv6-cidr #17780
Conversation
c75fdb6
to
a0d4dbb
Compare
Thanks for the contribution. I believe however changing this value breaks upgrades. If users use "--reuse-values" when performing "helm upgrade", Helm will likely fail trying to apply My proposal therefore would be to introduce a new Helm value (e.g. While less elegant, there is also an option where we don't change the Helm value at all. I believe if you only changed |
Thank you very much, I agree with you. I'll think about how to modify it |
36949bb
to
288d24b
Compare
done |
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.
Please see my comments
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 for the PR. At a glance this seems like it should be safe for upgrades from existing clusterpool configuration, although I have not tested it out.
There's a few references to the old name for this field in the docs, could you fix them up?
$ git grep clusterPoolIPv4
Documentation/gettingstarted/ipam-cluster-pool.rst: * ``--set ipam.operator.clusterPoolIPv4PodCIDR=<IPv4CIDR>``
Documentation/gettingstarted/ipam-cluster-pool.rst: * ``--set ipam.operator.clusterPoolIPv4MaskSize=<IPv4MaskSize>``
Documentation/gettingstarted/k8s-install-openshift-okd.rst:reflect those changes. Namely ``clusterNetwork`` should match ``nativeRoutingCIDR``, ``clusterPoolIPv4PodCIDR`` and ``clusterPoolIPv4MaskSize``.
...
Also, should this be added into the Documentation/operations/upgrade.rst
upgrade guide to inform users that they should migrate their configurations to the new settings?
I suspect that some of the failures in CI are because this PR has not been rebased against the latest master branch recently. Could you also rebasing against master while addressing the above feedback? |
ABC was deprecated in favor of BBC
Thx, updated |
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, thanks.
40ddf02
to
46392cf
Compare
Hi, Is there anything else I need to do next? |
Let's give @errordeveloper some time to re-review. Other than that, this should be good to go. I'll also re-run CI again to incorporate the last changes. |
/test Job 'Cilium-PR-K8s-1.21-kernel-4.19' hit: #17881 (98.48% similarity) |
thank you |
Hi, do I need to do something to solve this CI can not succeed? |
/test |
Pushing new commits unfortunately invalidates previous CI runs and their links, so I can't tell you what went wrong the last time besides one known-flaky test that got flagged (which is unrelated to your changes) here: #17780 (comment) I'll run the tests again (this can only be done by team members with commit access unfortunately), please avoid pushing to the branch after the tests have run to keep the result validated. There is usually no need to rebase. |
/test |
Thank you very much |
@gandro Sorry, it seems that the rebase is a past commit, I need to fix it. |
`cluster-pool-ipv4-cidr` and `cluster-pool-ipv6-cidr` should be string slices and not string Signed-off-by: cndoit18 <cndoit18@outlook.com>
Can you retrigger it? Thank you |
Yes, will re-trigger it as soon as the Image CI Build stage has finished. Please note that it is usually fine if your branch is not up to date with the master branch, there is no need to rebase, unless there is a known bug somewhere. |
/test Job 'Cilium-PR-K8s-GKE' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.