From 81c66a2db6c5fcdab9e04a85ecec307db4b7a4e7 Mon Sep 17 00:00:00 2001 From: pyadagiri Date: Thu, 12 Mar 2026 13:46:17 +0530 Subject: [PATCH 1/3] HA default to true --- specification/resources/kubernetes/models/cluster.yml | 5 ++++- specification/resources/kubernetes/models/cluster_read.yml | 5 ++++- specification/resources/kubernetes/models/cluster_update.yml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/specification/resources/kubernetes/models/cluster.yml b/specification/resources/kubernetes/models/cluster.yml index 508703136..327e929a9 100644 --- a/specification/resources/kubernetes/models/cluster.yml +++ b/specification/resources/kubernetes/models/cluster.yml @@ -143,11 +143,14 @@ properties: ha: type: boolean - default: false + default: true example: true description: A boolean value indicating whether the control plane is run in a highly available configuration in the cluster. Highly available control planes incur less downtime. The property cannot be disabled. + When omitted on create, the default is version-dependent; for DOKS + 1.36.0 and later, the default is true; for earlier versions, the + default is false. registry_enabled: type: boolean diff --git a/specification/resources/kubernetes/models/cluster_read.yml b/specification/resources/kubernetes/models/cluster_read.yml index 05bd59bfb..c72f9d408 100644 --- a/specification/resources/kubernetes/models/cluster_read.yml +++ b/specification/resources/kubernetes/models/cluster_read.yml @@ -143,11 +143,14 @@ properties: ha: type: boolean - default: false + default: true example: true description: A boolean value indicating whether the control plane is run in a highly available configuration in the cluster. Highly available control planes incur less downtime. The property cannot be disabled. + When omitted on create, the default is version-dependent; for DOKS + 1.36.0 and later, the default is true; for earlier versions, the + default is false. registry_enabled: type: boolean diff --git a/specification/resources/kubernetes/models/cluster_update.yml b/specification/resources/kubernetes/models/cluster_update.yml index 30aca3936..d4dc8f90d 100644 --- a/specification/resources/kubernetes/models/cluster_update.yml +++ b/specification/resources/kubernetes/models/cluster_update.yml @@ -39,11 +39,14 @@ properties: ha: type: boolean - default: false + default: true example: true description: A boolean value indicating whether the control plane is run in a highly available configuration in the cluster. Highly available control planes incur less downtime. The property cannot be disabled. + When omitted on create, the default is version-dependent; for DOKS + 1.36.0 and later, the default is true; for earlier versions, the + default is false. control_plane_firewall: $ref: 'control_plane_firewall.yml' From e4d269d9b317a6321f5484dbe87402a9f1a7b765 Mon Sep 17 00:00:00 2001 From: pyadagiri Date: Tue, 12 May 2026 22:04:51 +0530 Subject: [PATCH 2/3] remove default value so that generated pydo, dots clients send nil by default --- specification/resources/kubernetes/models/cluster.yml | 1 - specification/resources/kubernetes/models/cluster_read.yml | 2 +- specification/resources/kubernetes/models/cluster_update.yml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/specification/resources/kubernetes/models/cluster.yml b/specification/resources/kubernetes/models/cluster.yml index 327e929a9..8290bdfa0 100644 --- a/specification/resources/kubernetes/models/cluster.yml +++ b/specification/resources/kubernetes/models/cluster.yml @@ -143,7 +143,6 @@ properties: ha: type: boolean - default: true example: true description: A boolean value indicating whether the control plane is run in a highly available configuration in the cluster. Highly available diff --git a/specification/resources/kubernetes/models/cluster_read.yml b/specification/resources/kubernetes/models/cluster_read.yml index c72f9d408..57025d447 100644 --- a/specification/resources/kubernetes/models/cluster_read.yml +++ b/specification/resources/kubernetes/models/cluster_read.yml @@ -143,7 +143,7 @@ properties: ha: type: boolean - default: true + default: false example: true description: A boolean value indicating whether the control plane is run in a highly available configuration in the cluster. Highly available diff --git a/specification/resources/kubernetes/models/cluster_update.yml b/specification/resources/kubernetes/models/cluster_update.yml index d4dc8f90d..161d112ce 100644 --- a/specification/resources/kubernetes/models/cluster_update.yml +++ b/specification/resources/kubernetes/models/cluster_update.yml @@ -39,7 +39,7 @@ properties: ha: type: boolean - default: true + default: false example: true description: A boolean value indicating whether the control plane is run in a highly available configuration in the cluster. Highly available From 0fa2c30539807929bea78a2730c7d192c70b842c Mon Sep 17 00:00:00 2001 From: pyadagiri Date: Wed, 13 May 2026 15:11:18 +0530 Subject: [PATCH 3/3] Remove ha default from cluster update schema --- specification/resources/kubernetes/models/cluster_update.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/resources/kubernetes/models/cluster_update.yml b/specification/resources/kubernetes/models/cluster_update.yml index 161d112ce..86a16a6ba 100644 --- a/specification/resources/kubernetes/models/cluster_update.yml +++ b/specification/resources/kubernetes/models/cluster_update.yml @@ -39,7 +39,6 @@ properties: ha: type: boolean - default: false example: true description: A boolean value indicating whether the control plane is run in a highly available configuration in the cluster. Highly available