[kubernetes-run] Warn when pod is stuck pending

Aperta
#342 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
kubernetes, ruby
Ambito
cli, observability

Direzione di ricerca

Read the linked pull request, https://github.com/Shopify/kubernetes-deploy/pull/337, to understand the pending-pod context. Locate how kubernetes-run handles unmanaged pods and reports their status; the issue does not name files or tests. Done means emitting a warning after a chosen pending duration that includes the pod's pending reason, without timing out the pod.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

:sparkles: enhancement

Follow-up to https://github.com/Shopify/kubernetes-deploy/pull/337

I think that if an unmanaged pod (from a task run or a deploy) has been pending for more than a certain number of seconds (30? 60?), we should emit a warning. We could also have the pod time out at that point, but I'm not really comfortable doing that based on the generic status of "Pending" alone. So logging a warning (which should include the pending reason) seems like a good place to start.

Lingua principale
Ruby
Stelle
1.4k
Fork
119
Merge medio
1h 7m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Shopify/krane

Tutte le issue di Shopify/krane

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.