Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Adapt machine readiness probe to node-agent #22

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

ScheererJ
Copy link
Contributor

What this PR does / why we need it:
Adapt machine readiness probe to node-agent.

Gardener node agent does not download kubectl anymore to /opt/bin/kubectl. Therefore, the readiness probe of machines in the local setup should no longer refer to this binary. Fortunately, the node image already comes with kubectl in /usr/bin/kubectl, which works for the readiness probe.

Which issue(s) this PR fixes:
None.

Special notes for your reviewer:
After enabling gardener node agent in the local setup, all machines pods stay non-ready. This does not block creation/deletion of shoot clusters. It is not clear what the effect of it is, but it is safer to just use the correct binary.

Release note:

Machines in the local setup work with gardener node agent and report proper readiness

Gardener node agent does not download kubectl anymore to /opt/bin/kubectl. Therefore, the readiness probe of machines in the local setup should no longer refer to this binary.
Fortunately, the node image already comes with kubectl in /usr/bin/kubectl, which works for the readiness probe.
@gardener-robot gardener-robot added needs/review Needs review size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) labels Jan 9, 2024
@oliver-goetz
Copy link
Contributor

/lgtm

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels Jan 9, 2024
@oliver-goetz oliver-goetz merged commit 291e2b8 into master Jan 9, 2024
5 checks passed
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Jan 9, 2024
@oliver-goetz oliver-goetz deleted the fix/readiness-probe-with-node-agent branch January 9, 2024 14:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
reviewed/lgtm Has approval for merging size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants