You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add dnsServiceIP override for cluster DNS settings
Support `clusterNetwork.dnsServiceIP` in API versions and conversions, validate the value, and
use it for kubelet/OSM when NodeLocalDNS is disabled. Fall back to the default 10th
service-subnet IP when unset.
Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
Copy file name to clipboardExpand all lines: docs/api_reference/v1beta2.en.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
+++
2
2
title = "v1beta2 API Reference"
3
-
date = 2026-04-03T12:52:19+02:00
3
+
date = 2026-04-09T11:02:18+03:00
4
4
weight = 11
5
5
+++
6
6
## v1beta2
@@ -236,6 +236,7 @@ ClusterNetworkConfig describes the cluster network
236
236
| ipFamily | IPFamily allows specifying IP family of a cluster. Valid values are IPv4 \| IPv6 \| IPv4+IPv6 \| IPv6+IPv4. | IPFamily | false |
237
237
| nodeCIDRMaskSizeIPv4 | NodeCIDRMaskSizeIPv4 is the mask size used to address the nodes within provided IPv4 Pods CIDR. It has to be larger than the provided IPv4 Pods CIDR. Defaults to 24. |*int | false |
238
238
| nodeCIDRMaskSizeIPv6 | NodeCIDRMaskSizeIPv6 is the mask size used to address the nodes within provided IPv6 Pods CIDR. It has to be larger than the provided IPv6 Pods CIDR. Defaults to 64. |*int | false |
239
+
| dnsServiceIP | DNSServiceIP is an optional override for the cluster DNS service IP. If not set, it defaults to the 10th IP of the serviceSubnet (e.g. 10.96.0.10 for 10.96.0.0/12). When nodeLocalDNS is enabled, OSM always uses the NodeLocalDNS virtual IP regardless of this field. | string | false |
Copy file name to clipboardExpand all lines: docs/api_reference/v1beta3.en.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
+++
2
2
title = "v1beta3 API Reference"
3
-
date = 2026-04-03T12:52:19+02:00
3
+
date = 2026-04-09T11:02:18+03:00
4
4
weight = 11
5
5
+++
6
6
## v1beta3
@@ -249,6 +249,7 @@ ClusterNetworkConfig describes the cluster network
249
249
| ipFamily | IPFamily allows specifying IP family of a cluster. Valid values are IPv4 \| IPv6 \| IPv4+IPv6 \| IPv6+IPv4. | IPFamily | false |
250
250
| nodeCIDRMaskSizeIPv4 | NodeCIDRMaskSizeIPv4 is the mask size used to address the nodes within provided IPv4 Pods CIDR. It has to be larger than the provided IPv4 Pods CIDR. Defaults to 24. |*int | false |
251
251
| nodeCIDRMaskSizeIPv6 | NodeCIDRMaskSizeIPv6 is the mask size used to address the nodes within provided IPv6 Pods CIDR. It has to be larger than the provided IPv6 Pods CIDR. Defaults to 64. |*int | false |
252
+
| dnsServiceIP | DNSServiceIP is an optional override for the cluster DNS service IP. If not set, it defaults to the 10th IP of the serviceSubnet (e.g. 10.96.0.10 for 10.96.0.0/12). When nodeLocalDNS is enabled, OSM always uses the NodeLocalDNS virtual IP regardless of this field. | string | false |
Copy file name to clipboardExpand all lines: pkg/apis/kubeone/types.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -611,6 +611,11 @@ type ClusterNetworkConfig struct {
611
611
612
612
// NodeCIDRMaskSizeIPv6 is the mask size used to address the nodes within provided IPv6 Pods CIDR. It has to be larger than the provided IPv6 Pods CIDR. Defaults to 64.
Copy file name to clipboardExpand all lines: pkg/apis/kubeone/v1beta2/types.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -616,6 +616,11 @@ type ClusterNetworkConfig struct {
616
616
617
617
// NodeCIDRMaskSizeIPv6 is the mask size used to address the nodes within provided IPv6 Pods CIDR. It has to be larger than the provided IPv6 Pods CIDR. Defaults to 64.
Copy file name to clipboardExpand all lines: pkg/apis/kubeone/v1beta3/types.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -608,6 +608,11 @@ type ClusterNetworkConfig struct {
608
608
609
609
// NodeCIDRMaskSizeIPv6 is the mask size used to address the nodes within provided IPv6 Pods CIDR. It has to be larger than the provided IPv6 Pods CIDR. Defaults to 64.
0 commit comments