youtube image
From YouTube: Kubernetes SIG API Machinery 20210825

Description

Aug 25th
-[Vijay Tripathi] Discuss https://github.com/kubernetes-sigs/controller-tools/pull/569
Remove the DangerousTypes
Continue discussion about pros and cons in the mailing list
-[jefftree] OpenAPI v3 https://github.com/kubernetes/enhancements/pull/2898
-[sttts,tkashem] inconsistent behaviour of kube-apiserver before readiness, and clients that care, like GC and namespace controllers
GC issue: https://github.com/kubernetes/kubernetes/issues/104342
before readiness (/readyz 200), i.e. without load-balancer
CRDs potentially unavailable (404)
aggregated resources potentially unavailable (404)
discovery incomplete
This one impacts the namespace lifecycle controller in an easy to see way. Possibly others.
OpenAPI incomplete (there is a PR at least fixing CRDs)
RBAC incomplete (403 where it shouldn't)
[deads2k] - this doesn’t sound so bad. Controllers retry and people F5.
Idea 1: --startup-send-retry-after-until-ready sending 429 with Retry-After header
Problem: problematic to unbrick self-hosted clusters
Idea 2: 429 instead of 404 for GC protection. But discovery?
Idea 3: 429 for GC/namespace-lifecycle-controller only
Idea 4: add request header that makes the request conditional on the apiserver being ready
Idea 5: add a reply header or content --- at least for discovery and 404 replies --- that indicates whether the server is ready
-[@mkimuram] Liens - https://github.com/kubernetes/enhancements/pull/2840