Sitelet https://github.com/kubernetes/kops/pull/18465
Skip to content

cilium: mount the host's /etc/hosts on gossip clusters - #18465

Merged
k8s-ci-robot merged 2 commits into
kubernetes:release-1.35from
hakman:gossip-cilium-upgrade
Jun 12, 2026
Merged

k8s-ci-robot merged 2 commits into
kubernetes:release-1.35from
hakman:gossip-cilium-upgrade

Conversation

@hakman

@hakman hakman commented Jun 12, 2026

Copy link
Copy Markdown
Member

@k8s-ci-robot
k8s-ci-robot requested review from ameukam and rifelpet June 12, 2026 20:05
@k8s-ci-robot k8s-ci-robot added this to the v1.35 milestone Jun 12, 2026
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. area/addons labels Jun 12, 2026
@hakman

hakman commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

/retest

hakman added 2 commits June 12, 2026 23:57
On gossip clusters, protokube updates the host's /etc/hosts as
control-plane nodes are replaced, but kubelet only copies that file
into host-network pods at container start. The cilium agent and
operator are pointed at api.internal.<cluster> via
KUBERNETES_SERVICE_HOST, so after a control-plane rolling update they
keep dialing the old addresses until the pods are recreated.

Mount /etc/hosts from the host (as kube-proxy already does on gossip
clusters) so the agent and operator observe protokube's updates and
reconnect on their own.
@hakman
hakman force-pushed the gossip-cilium-upgrade branch from 0ddcd80 to a14d1f8 Compare June 12, 2026 21:04
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jun 12, 2026
@hakman

hakman commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

/approve

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 12, 2026
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 12, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman, rifelpet

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot
k8s-ci-robot merged commit 916a507 into kubernetes:release-1.35 Jun 12, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/addons cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants