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

Track restartPolicy in node pod informer. #417

Merged
merged 2 commits into from
Dec 27, 2024
Merged

Conversation

hime
Copy link
Collaborator

@hime hime commented Dec 27, 2024

In Kubernetes versions that do not support native sidecar, we put an exit file for the sidecar to read once all the containers in the pod have terminated. This behavior partly depends on the RestartPolicy of the Pod. Tracking of this policy was recently removed in #413. Adding it back to Pod.Spec.RestartPolicy in node server pod informer to fix regression in 1.28.

Tested

Ran non-managed driver on cluster running GKE v1.28.15-gke.1020000 and verified auto-termination testsuite succeeds.

cc. @saikat-royc @halimsam

@hime hime added the bug Something isn't working label Dec 27, 2024
@msau42
Copy link
Collaborator

msau42 commented Dec 27, 2024

/lgtm
/approve

@hime hime added the Approved label Dec 27, 2024
@hime hime merged commit a141a19 into GoogleCloudPlatform:main Dec 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants