Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Fix no matches for kind "Deployment" in version "extensions/v1beta1" #2127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

longfei-zhang
Copy link

As deployment in the extensions/v1beta1 was deprecated from
K8S 1.16, so change the deployment to suit K8S 1.16 version
and later.

Ref: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/

Please read https://github.com/coreos/etcd-operator/blob/master/CONTRIBUTING.md#contribution-flow

As deployment in the extensions/v1beta1 was deprecated from
K8S 1.16, so change the deployment to suit K8S 1.16 version
and later.

Ref: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/
joshix added a commit to kubernetes-operators-book/chapters that referenced this pull request Nov 15, 2019
K8s 1.16+ stops serving the deprecated versions of the Deployment at the older APIs and rejects calls to API < apps/v1.
See: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/
This changeset adapted from coreos/etcd-operator#2127
@oliverhu
Copy link

oliverhu commented Jan 3, 2020

Verified and works for me.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants