prometheus icon indicating copy to clipboard operation
prometheus copied to clipboard

Switch API's for Kubernetes >= 1.16

Open njuettner opened this issue 4 years ago • 0 comments

Deprecation of API's were announced when using Kubernetes 1.16 and above. This leads to current failures when applying those manifests.

Different API groups:

NetworkPolicy (in the extensions/v1beta1 API group)

  • Migrate to use the networking.k8s.io/v1 API, available since v1.8. Existing persisted data can be >retrieved/updated via the networking.k8s.io/v1 API.

PodSecurityPolicy (in the extensions/v1beta1 API group)

  • Migrate to use the policy/v1beta1 API, available since v1.10. Existing persisted data can be retrieved/updated via the policy/v1beta1 API.

DaemonSet, Deployment, StatefulSet, and ReplicaSet (in the extensions/v1beta1 and apps/v1beta2 API groups)

  • Migrate to use the apps/v1 API, available since v1.9. Existing persisted data can be retrieved/updated via the apps/v1 API.

njuettner avatar Jan 23 '20 17:01 njuettner