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

[connectivity] add container name for health tests #1354

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

fl64
Copy link
Contributor

@fl64 fl64 commented Jan 25, 2023

In some environments it is possible to use ds cilium with multiple containers (e.g. kube-rbac-proxy) in these cases the health tests do not work correctly.
For example:

⚠️ cilium-health probe failed: "a container name must be specified for pod agent-gtrg7, choose one of: [check-linux-kernel mount-cgroup clean-cilium-state cilium-agent kube-rbac-proxy]", stdout: {" '\x00' '\x00'}, retrying...

@fl64 fl64 requested a review from a team as a code owner January 25, 2023 06:19
@fl64 fl64 requested a review from ldelossa January 25, 2023 06:19
@fl64 fl64 temporarily deployed to ci January 25, 2023 06:19 — with GitHub Actions Inactive
connectivity/tests/health.go Outdated Show resolved Hide resolved
@tklauser
Copy link
Member

@fl64 You'll need to import the defaults package as well, it seems. Please also squash the commits into one.

@fl64
Copy link
Contributor Author

fl64 commented Jan 26, 2023

@tklauser Sorry, my fault, I missed it.

Signed-off-by: Pavel Tishkov <pavel.tishkov@flant.com>
@fl64 fl64 force-pushed the add-container-name-for-health-checks branch from ea08154 to e95cb4a Compare January 26, 2023 11:49
@fl64 fl64 temporarily deployed to ci January 26, 2023 11:49 — with GitHub Actions Inactive
Copy link
Member

@tklauser tklauser left a comment

Choose a reason for hiding this comment

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

Thanks

@tklauser tklauser merged commit 6f0478e into cilium:master Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants