-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
Description
Describe the bug
As found by Aldo, Kubernetes v1.16 dropped the legacy support for:
apiVersion extensions/v1beta1
in favor of:
apiVersion: apps/v1
This breaks the Polycube CNI installation, resulting in a kubernetes failure, as the current plugin declares the compatibility with the old API and cannot be installed in K8s 1.16 and onwards.
To Reproduce
Trying to apply polycube CNI manifest, we get:
error: unable to recognize "https://raw.githubusercontent.com/polycube-network/polycube/master/src/components/k8s/standalone_etcd.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
Additional context
The apiVersion change is documented here: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/