Skip to content

Commit

Permalink
Increase the minimum supported Kubernetes version to v1.19
Browse files Browse the repository at this point in the history
Since Kubernetes v1.19, some APIs are deprecated. Add deprecated comment
to those APIs and update documents.

Reference: https://kubernetes.io/docs/reference/using-api/deprecation-guide/
  • Loading branch information
hjiajing committed Mar 8, 2024
1 parent 327cb03 commit 68abc85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Network Policies in a very efficient manner.

## Prerequisites

Antrea has been tested with Kubernetes clusters running version 1.16 or later.
Antrea has been tested with Kubernetes clusters running version 1.19 or later.

* `NodeIPAMController` must be enabled in the Kubernetes cluster.\
When deploying a cluster with kubeadm the `--pod-network-cidr <cidr>`
Expand Down
1 change: 1 addition & 0 deletions pkg/apiserver/handlers/webhook/convert_crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (

"github.com/munnerz/goautoneg"
v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
// Deprecated: apiextensions/v1beta1 is deprecated, use apiextensions/v1 instead
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
Expand Down

0 comments on commit 68abc85

Please sign in to comment.