Azure / Azure/kdebug

Bad scheduling checker

Open
#80 1 comment 0 reactions 1 assignee Claimed by @zackliu View on GitHub
enhancement
Dominant language
Go
Stars
54
Forks
21
PR merge metrics
No merged PRs in 30d

Description

# 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.