Skip to content

Add support to set lifecycle on K8s pods - #10972

Closed
msumit wants to merge 2 commits into
apache:masterfrom
msumit:add_lifecycle
Closed

Add support to set lifecycle on K8s pods#10972
msumit wants to merge 2 commits into
apache:masterfrom
msumit:add_lifecycle

Conversation

@msumit

@msumit msumit commented Sep 16, 2020

Copy link
Copy Markdown
Contributor

I'm using pod_mutation_hook to modify the worker pods before sending them to k8s, but couldn't set the lifecycle policy on it, so adding support for that.

PS: Not able to test changes on the master yet, as we are on 1.10.4 as of now.

https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/

@boring-cyborg boring-cyborg Bot added the k8s label Sep 16, 2020
@mik-laj

mik-laj commented Sep 16, 2020

Copy link
Copy Markdown
Member

@msumit

msumit commented Sep 16, 2020

Copy link
Copy Markdown
Contributor Author

Thanks, @mik-laj, closing this diff now.

@msumit msumit closed this Sep 16, 2020
@kaxil kaxil added provider:cncf-kubernetes Kubernetes (k8s) provider related issues and removed area:k8s labels Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants