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-03T16:57:31+03:00
3
+
date = 2026-04-15T10:59:17+03:00
4
4
weight = 11
5
5
+++
6
6
## v1beta2
@@ -242,6 +242,7 @@ ClusterNetworkConfig describes the cluster network
242
242
| ipFamily | IPFamily allows specifying IP family of a cluster. Valid values are IPv4 \| IPv6 \| IPv4+IPv6 \| IPv6+IPv4. | IPFamily | false |
243
243
| 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 |
244
244
| 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 |
245
+
| 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-03T16:57:31+03:00
3
+
date = 2026-04-15T10:59:17+03:00
4
4
weight = 11
5
5
+++
6
6
## v1beta3
@@ -255,6 +255,7 @@ ClusterNetworkConfig describes the cluster network
255
255
| ipFamily | IPFamily allows specifying IP family of a cluster. Valid values are IPv4 \| IPv6 \| IPv4+IPv6 \| IPv6+IPv4. | IPFamily | false |
256
256
| 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 |
257
257
| 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 |
258
+
| 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
@@ -675,6 +675,11 @@ type ClusterNetworkConfig struct {
675
675
676
676
// 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
@@ -680,6 +680,11 @@ type ClusterNetworkConfig struct {
680
680
681
681
// 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
@@ -672,6 +672,11 @@ type ClusterNetworkConfig struct {
672
672
673
673
// 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