Skip to content

Pass custom k8s container properties #1215

@clumsy

Description

@clumsy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions