Describe the feature request
There are ~165 manifests in the repo using deprecated versions of DaemonSets, Deployments, ReplicaSets, and StatefulSets (in extensions/v1beta1, apps/v1beta1, or apps/v1beta2).
These resources have been deprecated since k8s v1.9 and are planned to no longer be served starting in k8s v1.16 (c.f. kubernetes/kubernetes#43214).
All supported versions of k8s have the apps/v1 versions of these resources available. Switching manifests to use the GA versions of these resources ensures broader compatibility and longer-term support.
Migration involves:
- changing apiVersion to
apps/v1
- populating
spec.selector.matchLabels with the contents of spec.template.metadata.labels if spec.selector does not already exist
- populating
metadata.labels with the contents of spec.template.metadata.labels if metadata.labels does not already exist
Describe the feature request
There are ~165 manifests in the repo using deprecated versions of DaemonSets, Deployments, ReplicaSets, and StatefulSets (in extensions/v1beta1, apps/v1beta1, or apps/v1beta2).
These resources have been deprecated since k8s v1.9 and are planned to no longer be served starting in k8s v1.16 (c.f. kubernetes/kubernetes#43214).
All supported versions of k8s have the apps/v1 versions of these resources available. Switching manifests to use the GA versions of these resources ensures broader compatibility and longer-term support.
Migration involves:
apps/v1spec.selector.matchLabelswith the contents ofspec.template.metadata.labelsifspec.selectordoes not already existmetadata.labelswith the contents ofspec.template.metadata.labelsifmetadata.labelsdoes not already exist