It would be nice to be able to define a default PDB tho. I’m not exactly sure of the default behavior but I often have new tenants forget PDB and then have outages during the first node pool upgrade.
-
-
Replying to @KarlKFI
I vaguely recall a proposal for that. I'll look/inquire. In the meantime, the main focus is GA/stable: https://github.com/kubernetes/enhancements/blob/6f42c8560c2c36fde3730fcb0d882b2451cdc00d/keps/sig-apps/20190318-PodDisruptionBudget-graduation-to-stable.md …
1 reply 0 retweets 1 like -
-
Replying to @bgrant0607
There’s a gotcha there by
@davidopp, using principle of least surprise to rationalize not surprising the expert that knows PDBs exist and how they work. Better to avoid surprising the non-expert who doesn’t know Kubernetes well. There are vastly more of them.1 reply 0 retweets 0 likes -
Wow that issue is ancient... doesn’t look like it’d be easy to get it moving again without convincing the core dissenters.
1 reply 0 retweets 0 likes -
I just learned there's actually a more recent thread. I'm tracking it down.
1 reply 0 retweets 0 likes -
We have discussed this pretty recently. Did you have any thoughts on how this can be done? I'll try to get this on the schedule for the next sig-apps meeting to gauge the interest.
1 reply 0 retweets 0 likes -
What if we had a cluster-level resource & controller to configure namespace-level defaults, like LimitRange and ResourceQuota. Then something similar for Deployment-level defaults, like rollout strategy, PDB, seccomp profile, termination grace period, etc.
2 replies 0 retweets 0 likes -
That sounds somewhat similar to what I was thinking, although I have only been focused on PDBs. I was thinking a resource that acts as a default PDB unless one is already defined. This could then set the default per-namespace, per-cluster and potentially per GroupKind.
1 reply 0 retweets 0 likes -
Yeah. K8s has a larger defaulting problem tho. It’d be nice to have defaults be manageable at runtime so you can change them across the cluster everywhere there isn’t an override in place.
1 reply 0 retweets 0 likes
I have been thinking along similar lines
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.