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

v1.8 backports 2020-10-08 #13459

Merged
merged 14 commits into from
Oct 12, 2020
Merged

v1.8 backports 2020-10-08 #13459

merged 14 commits into from
Oct 12, 2020

Conversation

qmonnet
Copy link
Member

@qmonnet qmonnet commented Oct 8, 2020

Once this PR is merged, you can update the PR labels via:

$ for pr in 13028 13432; do contrib/backporting/set-labels.py $pr done 1.8; done

tgraf and others added 14 commits October 8, 2020 11:16
[ upstream commit 2c759a2 ]

The operator is involved in various IPAM modes, a more specific name for
the ClusterPool mode makes the code more readable.

[ Backport note:
    Do _not_ rename ipamOption.IPAMHostScopeLegacy, which remains the
    default on v1.8, and has only be replaced with
    ipamOption.IPAMOperator for v1.9 with commit
    175bd96 ("cleanup/ipam: Remove hostscope-legacy IPAM option") ]

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit dff42c6 ]

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit d292904 ]

This help detect instances when creating or updating the resource is
delayed or hangs. It also helps validate the correct behavior of the
cluster-pool IPAM implementation.

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit d011b3b ]

The function has grown and supports both CiliumNode and Kubernetes Node
and thus the original name is misleading at this point.

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit 3af54a1 ]

When using ClusterPool IPAM, the reference to Kubernetes node is
misleading to users.

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit 17aabf4 ]

There is no need to require special Helm logic to set
`k8s-require-ipv4-pod-cidr` correctly in combination with `ipam:
cluster-pool`. The existing `enable-ipv4` and `enable-ipv6` options are
more user friendly and ensure that cluster-pool also functions properly
without Helm.

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit 71a6094 ]

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit 96ca106 ]

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit e613b59 ]

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit c3d8ca0 ]

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
… set

[ upstream commit 5ce94ef ]

The existing logic reported an error if both IPv4 and IPv6 CIDRs were
not provided. This is insufficient when both IPv4 and IPv6 are enabled
but only an IPv4 ClusterPool CIDR is specified.

It lead to a situation where agents won't start up while waiting for the
CiliumNode to to provide an IPv6 address.

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit ca601cd ]

Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit 9d08cc6 ]

Rearrange the flags in the CLI and command output alphabetically, and
fix a spelling error in the README.

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit d068162 ]

Improve the help text and documentation for listing and generating
connectivity checks.

Fixes: #12714

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
@qmonnet qmonnet requested a review from a team as a code owner October 8, 2020 11:01
@qmonnet qmonnet added backport/1.8 kind/backports This PR provides functionality previously merged into master. labels Oct 8, 2020
@qmonnet
Copy link
Member Author

qmonnet commented Oct 8, 2020

test-backport-1.8

Copy link
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My commits look good. I did not review the clusterpool IPAM changes, probably makes sense to make sure @tgraf takes a look before merging.

@qmonnet
Copy link
Member Author

qmonnet commented Oct 9, 2020

test-1.18-4.9

Copy link
Member

@tgraf tgraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IPAM backport looks good

@aanm aanm merged commit 86e5f76 into v1.8 Oct 12, 2020
@aanm aanm deleted the pr/v1.8-backport-2020-10-08 branch October 12, 2020 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backports This PR provides functionality previously merged into master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants