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/

Signed-off-by: hjiajing <hjiajing@vmware.com>
  • Loading branch information
hjiajing committed Apr 24, 2024
1 parent 27424c3 commit 04d762a
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 @@ -45,6 +45,7 @@ func statusSucceed() metav1.Status {

// doConversionV1beta1 converts the requested objects in the v1beta1 ConversionRequest using the given conversion function and
// returns a conversion response. Failures are reported with the Reason in the conversion response.
// Deprecated: apiextensions/v1beta1 is deprecated, use apiextensions/v1 instead
func doConversionV1beta1(convertRequest *v1beta1.ConversionRequest, convert convertFunc) *v1beta1.ConversionResponse {
var convertedObjects []runtime.RawExtension
for _, obj := range convertRequest.Objects {
Expand Down

0 comments on commit 04d762a

Please sign in to comment.