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

helm: check for contents of bootstartFile #18897

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

aanm
Copy link
Member

@aanm aanm commented Feb 23, 2022

Checking for the existence of the .Values.nodeinit.bootstrapFile
file will be a no-op because the file is created by kubelet if
it does not exist. Instead, we should check if the file has some
contents inside of it which is when we can be sure the node-init
DaemonSet has started.

Signed-off-by: André Martins andre@cilium.io

Fix concurrency issue while waiting for node-init DaemonSet to be ready

@aanm aanm added release-note/bug This PR fixes an issue in a previous release of Cilium. needs-backport/1.10 labels Feb 23, 2022
@aanm aanm requested a review from a team February 23, 2022 00:46
@aanm aanm requested a review from a team as a code owner February 23, 2022 00:46
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.11.2 Feb 23, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.10.8 Feb 23, 2022
@aanm
Copy link
Member Author

aanm commented Feb 23, 2022

/test

Job 'Cilium-PR-K8s-1.23-kernel-net-next' failed:

Click to show.

Test Name

K8sServicesTest Checks N/S loadbalancing Tests with direct routing and DSR

Failure Output

FAIL: Can not connect to service "http://192.168.56.11:32259" from outside cluster (1/10)

If it is a flake and a GitHub issue doesn't already exist to track it, comment /mlh new-flake Cilium-PR-K8s-1.23-kernel-net-next so I can create one.

@joestringer joestringer added this to Needs backport from master in 1.10.9 Feb 23, 2022
@joestringer joestringer removed this from Needs backport from master in 1.10.8 Feb 23, 2022
@joestringer joestringer added this to Needs backport from master in 1.11.3 Feb 23, 2022
@joestringer joestringer removed this from Needs backport from master in 1.11.2 Feb 23, 2022
@pchaigno pchaigno added the sig/k8s Impacts the kubernetes API, or kubernetes -> cilium internals translation layers. label Feb 26, 2022
Checking for the existence of the .Values.nodeinit.bootstrapFile
file will be a no-op because the file is created by kubelet if
it does not exist. Instead, we should check if the file has some
contents inside of it which is when we can be sure the node-init
DaemonSet has started.

Signed-off-by: André Martins <andre@cilium.io>
@aanm
Copy link
Member Author

aanm commented Mar 2, 2022

/test

@aanm
Copy link
Member Author

aanm commented Mar 3, 2022

/ci-multicluster

@aanm aanm merged commit 6c15df9 into cilium:master Mar 4, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.10.9 Mar 7, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.11.3 Mar 15, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Backport done to v1.10 in 1.10.9 Mar 17, 2022
@qmonnet qmonnet added backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. and removed backport-pending/1.11 labels Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. release-note/bug This PR fixes an issue in a previous release of Cilium. sig/k8s Impacts the kubernetes API, or kubernetes -> cilium internals translation layers.
Projects
No open projects
1.10.9
Backport done to v1.10
1.11.3
Backport pending to v1.10
Development

Successfully merging this pull request may close these issues.

None yet

8 participants