Skip to content

[BUG] Kubernetes v1.16 incompatibility #213

@palexster

Description

@palexster

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions