Require an owner label on every namespace
Every namespace has to carry a team label, so cost and on-call have a name.
Real policies, tried in real clusters, with more than one way to solve the same problem. The list grows with what people report, until it is a knowledge base someone can start from on day one.
If you run one that is not here, open an issue and we will add it.
Every namespace has to carry a team label, so cost and on-call have a name.
A pod that asks for privileged mode does not get created, in any namespace.
One security floor for every pod of the cluster, and a rejection for the manifests that try to go below it.
Namespaces get the labels the platform reads, without asking anyone to remember them.
Annotations that record who owns a namespace or what touched it, without asking anyone to write them.
A namespace gets its platform ConfigMap the moment it exists, without a controller of your own.
Two routes with the same hostname and path are a bug that only shows up in production traffic.
A namespace declares its ceiling, and every Deployment that lands in it is capped to it.
A label that carries a count computed from another resource, filtered to the namespace of the object.
Three policies that generate the FluentBit configuration, point the pod template at it and inject the sidecar.
Nothing matches those filters.