@@ -298,7 +298,7 @@ func TestCreateServiceSingleStackIPv6(t *testing.T) {
298
298
apiServerOptions ,
299
299
[]string {
300
300
fmt .Sprintf ("--runtime-config=networking.k8s.io/v1beta1=%v" , enableMultiServiceCIDR ),
301
- "--service-cluster-ip-range=2001:db8:1::/112 " ,
301
+ "--service-cluster-ip-range=2001:db8:1::/108 " ,
302
302
"--advertise-address=2001:db8::10" ,
303
303
"--disable-admission-plugins=ServiceAccount" ,
304
304
fmt .Sprintf ("--feature-gates=%s=%v,%s=%v" , features .MultiCIDRServiceAllocator , enableMultiServiceCIDR , features .DisableAllocatorDualWrite , disableAllocatorDualWrite ),
@@ -529,7 +529,7 @@ func TestCreateServiceDualStackIPv4IPv6(t *testing.T) {
529
529
apiServerOptions ,
530
530
[]string {
531
531
fmt .Sprintf ("--runtime-config=networking.k8s.io/v1beta1=%v" , enableMultiServiceCIDR ),
532
- "--service-cluster-ip-range=10.0.0.0/16,2001:db8:1::/112 " ,
532
+ "--service-cluster-ip-range=10.0.0.0/16,2001:db8:1::/108 " ,
533
533
"--advertise-address=10.0.0.1" ,
534
534
"--disable-admission-plugins=ServiceAccount" ,
535
535
fmt .Sprintf ("--feature-gates=%s=%v,%s=%v" , features .MultiCIDRServiceAllocator , enableMultiServiceCIDR , features .DisableAllocatorDualWrite , disableAllocatorDualWrite ),
@@ -808,7 +808,7 @@ func TestCreateServiceDualStackIPv6IPv4(t *testing.T) {
808
808
apiServerOptions ,
809
809
[]string {
810
810
fmt .Sprintf ("--runtime-config=networking.k8s.io/v1beta1=%v" , enableMultiServiceCIDR ),
811
- "--service-cluster-ip-range=2001:db8:1::/112 ,10.0.0.0/16" ,
811
+ "--service-cluster-ip-range=2001:db8:1::/108 ,10.0.0.0/16" ,
812
812
"--advertise-address=2001:db8::10" ,
813
813
"--disable-admission-plugins=ServiceAccount" ,
814
814
fmt .Sprintf ("--feature-gates=%s=%v,%s=%v" , features .MultiCIDRServiceAllocator , enableMultiServiceCIDR , features .DisableAllocatorDualWrite , disableAllocatorDualWrite ),
@@ -1038,7 +1038,7 @@ func TestUpgradeDowngrade(t *testing.T) {
1038
1038
s := kubeapiservertesting .StartTestServerOrDie (t ,
1039
1039
apiServerOptions ,
1040
1040
[]string {
1041
- "--service-cluster-ip-range=10.0.0.0/16,2001:db8:1::/112 " ,
1041
+ "--service-cluster-ip-range=10.0.0.0/16,2001:db8:1::/108 " ,
1042
1042
"--advertise-address=10.0.0.1" ,
1043
1043
"--disable-admission-plugins=ServiceAccount" ,
1044
1044
},
@@ -1149,7 +1149,7 @@ func TestConvertToFromExternalName(t *testing.T) {
1149
1149
s := kubeapiservertesting .StartTestServerOrDie (t ,
1150
1150
apiServerOptions ,
1151
1151
[]string {
1152
- "--service-cluster-ip-range=10.0.0.0/16,2001:db8:1::/112 " ,
1152
+ "--service-cluster-ip-range=10.0.0.0/16,2001:db8:1::/108 " ,
1153
1153
"--advertise-address=10.0.0.1" ,
1154
1154
"--disable-admission-plugins=ServiceAccount" ,
1155
1155
},
@@ -1238,7 +1238,7 @@ func TestPreferDualStack(t *testing.T) {
1238
1238
s := kubeapiservertesting .StartTestServerOrDie (t ,
1239
1239
apiServerOptions ,
1240
1240
[]string {
1241
- "--service-cluster-ip-range=10.0.0.0/16,2001:db8:1::/112 " ,
1241
+ "--service-cluster-ip-range=10.0.0.0/16,2001:db8:1::/108 " ,
1242
1242
"--advertise-address=10.0.0.1" ,
1243
1243
"--disable-admission-plugins=ServiceAccount" ,
1244
1244
},
@@ -1552,7 +1552,7 @@ func TestUpgradeServicePreferToDualStack(t *testing.T) {
1552
1552
s = kubeapiservertesting .StartTestServerOrDie (t ,
1553
1553
apiServerOptions ,
1554
1554
[]string {
1555
- "--service-cluster-ip-range=192.168.0.0/24,2001:db8:1::/112 " ,
1555
+ "--service-cluster-ip-range=192.168.0.0/24,2001:db8:1::/108 " ,
1556
1556
"--disable-admission-plugins=ServiceAccount" ,
1557
1557
},
1558
1558
sharedEtcd )
@@ -1593,7 +1593,7 @@ func TestDowngradeServicePreferToDualStack(t *testing.T) {
1593
1593
s := kubeapiservertesting .StartTestServerOrDie (t ,
1594
1594
apiServerOptions ,
1595
1595
[]string {
1596
- "--service-cluster-ip-range=192.168.0.0/24,2001:db8:1::/112 " ,
1596
+ "--service-cluster-ip-range=192.168.0.0/24,2001:db8:1::/108 " ,
1597
1597
"--advertise-address=10.0.0.1" ,
1598
1598
"--disable-admission-plugins=ServiceAccount" ,
1599
1599
},
0 commit comments