Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Kubernetes: ttlSecondsAfterFinished not working in ElasticJob spec#164

Description

@jovan-absci

馃悰 Bug

I specify ttlSecondsAfterFinished in my ElasticJob spec like so:

kind: ElasticJob
metadata:
  name: job1
  namespace: username
spec:
  rdzvEndpoint: "etcd0.elastic-job:2379"
  minReplicas: 1
  maxReplicas: 1
  ttlSecondsAfterFinished: 10

When I inspect the elastic job yaml after it's created I see that ttlSecondsAfterFinished is not present under spec key at all, resulting in my pods remaining in my namespace until I delete them manually.

Component (check all that applies):

  • state api
  • train_step api
  • train_loop
  • rendezvous
  • checkpoint
  • rollback
  • metrics
  • petctl
  • examples
  • docker
  • other

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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