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

install/kubernetes: do not schedule cilium-operator pods in same node #12771

Merged
merged 1 commit into from Aug 4, 2020

Conversation

aanm
Copy link
Member

@aanm aanm commented Aug 4, 2020

Since Cilium Operator is running in host network, 2 or more pods can't
run in the same node at the same time or they will clash the open
ports they use for liveness and / or readiness health check.

Fixes: 930bde7 ("install: update helm templates to add HA capabilities for operator")
Signed-off-by: André Martins andre@cilium.io

avoid schedule cilium-operator pods in same node for HA mode

@aanm aanm added kind/bug This is a bug in the Cilium logic. release-note/bug This PR fixes an issue in a previous release of Cilium. needs-backport/1.7 labels Aug 4, 2020
@aanm aanm requested review from a team as code owners August 4, 2020 17:16
@aanm aanm requested a review from a team August 4, 2020 17:16
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.3 Aug 4, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.7.7 Aug 4, 2020
@aanm
Copy link
Member Author

aanm commented Aug 4, 2020

test-me-please

Copy link
Member

@christarazi christarazi left a comment

Choose a reason for hiding this comment

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

LGTM, simple enough change. Small nits that can be addressed after CI runs, and no need for a re-review.

Can we change the release-note to say "avoid" instead of "do not"?

install/kubernetes/experimental-install.yaml Outdated Show resolved Hide resolved
install/kubernetes/quick-install.yaml Outdated Show resolved Hide resolved
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 36.839% when pulling 4189fc4f1180e4c008e79191f3d2803ae9e64397 on aanm:pr/fix-cilium-operator-ha into 9606ff5 on cilium:master.

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.

LGTM. Chris' comment does clarify a bit.

@joestringer
Copy link
Member

We'll wait for CI results then we can fix up the cosmetic nit & merge (assuming CI is happy).

Since Cilium Operator is running in host network, 2 or more pods can't
run in the same node at the same time or they will clash the open
ports they use for liveness and / or readiness health check.

Fixes: 930bde7 ("install: update helm templates to add HA capabilities for operator")
Signed-off-by: André Martins <andre@cilium.io>
@aanm aanm force-pushed the pr/fix-cilium-operator-ha branch from 4189fc4 to dedfd24 Compare August 4, 2020 21:38
@aanm
Copy link
Member Author

aanm commented Aug 4, 2020

CI was green. I've pushed the requested changes which doesn't require another CI run.

@aanm aanm merged commit bde2daf into cilium:master Aug 4, 2020
@aanm aanm deleted the pr/fix-cilium-operator-ha branch August 4, 2020 21:39
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.8 in 1.8.3 Aug 4, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.7 in 1.7.7 Aug 4, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.7 in 1.7.7 Aug 4, 2020
@joestringer joestringer removed this from Backport pending to v1.7 in 1.7.7 Aug 5, 2020
@joestringer joestringer added this to Needs backport from master in 1.7.8 Aug 5, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Backport done to v1.8 in 1.8.3 Aug 7, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Backport done to v1.8 in 1.8.3 Aug 7, 2020
@tklauser tklauser moved this from Needs backport from master to Backport done to v1.7 in 1.7.8 Aug 10, 2020
@aanm aanm added release-note/misc This PR makes changes that have no direct user impact. and removed release-note/bug This PR fixes an issue in a previous release of Cilium. labels Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is a bug in the Cilium logic. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
1.7.8
Backport done to v1.7
1.8.3
Backport done to v1.8
Development

Successfully merging this pull request may close these issues.

None yet

5 participants