-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Enhancement Description
- One-line enhancement description (can be used as a release note):
OwnerReference Resource Field
- Kubernetes Enhancement Proposal:
OwnerReferences are used to track garbage collection references. Today they use kind. This is a serialization format
not a URL to access on the kube-apiserver. To find a URL, a series of upwards of 20 discovery calls are made to find
every resource in the cluster to find a list of potential resources (URLs more or less). This approximates user intent
and mostly works, but it is inefficient and unnecessarily vulnerable to network outages.
This KEP proposes adding an optional resource field to OwnerReferences. If provided, this will be the authoritative value and
no lookup or approximation of user intent will be required. If not provided, the kind will be used as it is today.
If both are provided, old clusters continue to work and new clusters will be more efficient and resilient.
ownerReferences:
- apiVersion: apps/v1
kind: DaemonSet
resource: daemonsets- Discussion Link:
- Primary contact (assignee): @deads2k
- Responsible SIGs: sig-api-machinery
- Enhancement target (which target equals to which milestone):
- Alpha release target (x.y):
- Beta release target (x.y):
- Stable release target (x.y):
- Alpha
- KEP (
k/enhancements) update PR(s): - Code (
k/k) update PR(s): - Docs (
k/website) update PR(s):
- KEP (
Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.