Description
k8s overlay does not allow modifying the container that TorchX itself creates (we can only append to the list of containers).
Motivation/Background
We would like to be able to set livenessProbe and readinessProbe properties as per: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes
Detailed Proposal
We can maybe extend overlay support to overwrite/merge list elements or allow passing container kwargs as is.
Alternatives
Custom k8s scheduler that alters container/spec after torchx call.
Additional context/links
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes
Description
k8s overlay does not allow modifying the container that TorchX itself creates (we can only append to the list of containers).
Motivation/Background
We would like to be able to set
livenessProbeandreadinessProbeproperties as per: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probesDetailed Proposal
We can maybe extend overlay support to overwrite/merge list elements or allow passing container kwargs as is.
Alternatives
Custom k8s scheduler that alters container/spec after torchx call.
Additional context/links
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes