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

Kubernetes: ttlSecondsAfterFinished not working in ElasticJob spec #164

Open
1 of 11 tasks
jovan-absci opened this issue Jan 17, 2022 · 0 comments
Open
1 of 11 tasks

Comments

@jovan-absci
Copy link

🐛 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant