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

Allow clusters that do not use kubeproxy to disable presleep #416

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented May 7, 2024

Adds a conditional to skip adding the preStop sleep (added in #382) for clusters that do not use kubelet. My cluster, for example, uses the Calico eBPF-based dataplane, so it does not rely on kubelet or iptables.

When I tried using "0" to skip this, it was somehow converted to an integer in the generated yaml file causing some failures during helm upgrade. So, this also adds quotes around the preStopSleep.

Also, the changelog was missing the PR that added the preStopSleep, so add it, and fix the order of another changelog entry to follow the merge order and link to the PR instead of the issue.

@cognifloyd cognifloyd added bug Something isn't working enhancement New feature or request K8s labels May 7, 2024
@cognifloyd cognifloyd added this to the v1.2.0 milestone May 7, 2024
@cognifloyd cognifloyd requested review from guzzijones and a team May 7, 2024 20:02
@cognifloyd cognifloyd self-assigned this May 7, 2024
@pull-request-size pull-request-size bot added the size/M PR that changes 30-99 lines. Good size to review. label May 7, 2024
@cognifloyd cognifloyd enabled auto-merge (squash) May 7, 2024 20:04
When I tried using "0", it was somehow converted to an integer in the yaml file
causing some failures during helm upgrade. So, this also adds quotes around the
preStopSleep.

Also, the changelog was missing the PR that added the preStopSleep, so add it,
and fix the order of another changelog entry to follow the merge order and
link to the PR instead of the issue.
@cognifloyd cognifloyd force-pushed the allow-disabling-preStopSleep branch from db0128c to 537032a Compare May 22, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request K8s size/M PR that changes 30-99 lines. Good size to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant