Azure / Azure/kdebug

Bad scheduling checker

Aperta
#80 1 commento 0 reazioni 1 assegnatario Rivendicata da @zackliu Vedi su GitHub
enhancement
Lingua principale
Go
Stelle
54
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

# Background
Sometimes pods can be scheduled in a non-HA way. For example, all pods in a deployment scheduled to a single machine, or a single zone. Authoring a deployment with HA is hard for beginners. We should be able to point out such risks and guide users to configure pod spread topology properly.

# Goals
* Detect bad scheduling issues
* All pods in a deployment scheduled to a single machine.
* All pods in a deployment scheduled to a single zone, if cluster supports AZ.
* Give general guidance about configuring pod anti-affinity and spread topology

# Non-goals
* No need to detect theoretical issues. Just check current status.

# References
* https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
* https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#pod-topology-spread-constraints

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.