Skip to content

Commit 640cc03

Browse files
authored
Merge pull request #48895 from vijay08101990/patch-1
Update extend-service-ip-ranges.md
2 parents 2797fd2 + 96935b6 commit 640cc03

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

content/en/docs/tasks/network/extend-service-ip-ranges.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ This document shares how to extend the existing Service IP range assigned to a c
2424
## API
2525

2626
Kubernetes clusters with kube-apiservers that have enabled the `MultiCIDRServiceAllocator`
27-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) and the `networking.k8s.io/v1alpha1` API,
28-
will create a new ServiceCIDR object that takes the well-known name `kubernetes`, and that uses an IP address range
27+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) and have the `networking.k8s.io/v1beta1`
28+
API group active,
29+
will create a ServiceCIDR object that takes the well-known name `kubernetes`, and that specifies an IP address range
2930
based on the value of the `--service-cluster-ip-range` command line argument to kube-apiserver.
3031

3132
```sh
@@ -94,7 +95,7 @@ that extends or adds new IP address ranges.
9495

9596
```sh
9697
cat <EOF | kubectl apply -f -
97-
apiVersion: networking.k8s.io/v1alpha1
98+
apiVersion: networking.k8s.io/v1beta1
9899
kind: ServiceCIDR
99100
metadata:
100101
name: newcidr1
@@ -136,7 +137,7 @@ Kubernetes uses a finalizer on the ServiceCIDR to track this dependent relations
136137
kubectl get servicecidr newcidr1 -o yaml
137138
```
138139
```
139-
apiVersion: networking.k8s.io/v1alpha1
140+
apiVersion: networking.k8s.io/v1beta1
140141
kind: ServiceCIDR
141142
metadata:
142143
creationTimestamp: "2023-10-12T15:11:07Z"

0 commit comments

Comments
 (0)