Loading tutorials
kubectl to inspect resources. It covers topology keys. These are the node labels that define the failure domains the scheduler spreads pods across.2 min readkubectl apply. It also assumes you know that nodes carry labels such as topology.kubernetes.io/zone. Here you will write a constraint and learn what each field does. The next chapter covers the skew arithmetic in d1 min readtopology.kubernetes.io/zone, and have seen the fields of a topologySpreadConstraints block. Here you learn to calculate skew yourself, so you can predict where the scheduler will place the next pod.2 min readkubectl get pods -o wide output, and know that nodes carry zone and hostname labels. It also assumes you know how skew is calculated: the pod count in a domain minus the lowest pod count across all domains.2 min readtopologySpreadConstraints entry and calculate skew by hand. It also assumes you know the difference between DoNotSchedule and ScheduleAnyway. Here you will combine two constraints on one workload.2 min readtopologySpreadConstraints block and calculate skew by hand. It also assumes you know that a Deployment manages pods through ReplicaSets.2 min readtopologySpreadConstraints block and calculate skew by hand. It also assumes you know the difference between DoNotSchedule and ScheduleAnyway.2 min readtopologySpreadConstraints block and calculate skew by hand. It also assumes you know how node affinity, nodeSelector, and taints with tolerations work.2 min readtopologySpreadConstraints block and calculate skew. Spread constraints are narrower than they look, and most surprises come from expecting more of them.2 min readkubectl. It also assumes you know that nodes carry labels and that a cluster can span several availability zones.2 min readkubectl use. You should also have created a PodDisruptionBudget (PDB) like the one in the previous chapter.2 min readkubectl drain evicts pods through the Eviction API. Here you will learn to read the status a PDB reports, because that status decides whether an eviction succeeds.2 min readkubectl drain does, and understand that the Eviction API checks the budget before it removes a pod.2 min readkubectl get pdb, and know that kubectl drain evicts pods through the Eviction API. Here you will learn the configurations that make a drain hang or fail, and how to fix each one.2 min readkubectl describe. It also assumes you have read the earlier chapters on skew, whenUnsatisfiable, and PodDisruptionBudgets (PDBs). Two symptoms cover most problems with these features: a pod stuck in Pending, and a kubectl drain that neve2 min read