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
Copy file name to clipboardExpand all lines: docs/data-sources/ske_cluster.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,8 @@ Read-Only:
106
106
-`name` (String) Specifies the name of the node pool.
107
107
-`os_name` (String) The name of the OS image.
108
108
-`os_version` (String) The OS image version.
109
+
-`os_version_min` (String) The minimum OS image version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field.
110
+
-`os_version_used` (String) Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html).
109
111
-`taints` (Attributes List) Specifies a taint list as defined below. (see [below for nested schema](#nestedatt--node_pools--taints))
110
112
-`volume_size` (Number) The volume size in GB.
111
113
-`volume_type` (String) Specifies the volume type.
Copy file name to clipboardExpand all lines: docs/resources/ske_cluster.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ Deprecated as of Kubernetes 1.25 and later
53
53
-`extensions` (Attributes) A single extensions block as defined below. (see [below for nested schema](#nestedatt--extensions))
54
54
-`hibernations` (Attributes List) One or more hibernation block as defined below. (see [below for nested schema](#nestedatt--hibernations))
55
55
-`kubernetes_version` (String, Deprecated) Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead`
56
-
-`kubernetes_version_min` (String) The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster and can only by incremented. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field.
56
+
-`kubernetes_version_min` (String) The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field.
57
57
-`maintenance` (Attributes) A single maintenance block as defined below. (see [below for nested schema](#nestedatt--maintenance))
58
58
59
59
### Read-Only
@@ -72,7 +72,6 @@ Required:
72
72
-`maximum` (Number) Maximum number of nodes in the pool.
73
73
-`minimum` (Number) Minimum number of nodes in the pool.
74
74
-`name` (String) Specifies the name of the node pool.
75
-
-`os_version` (String) The OS image version.
76
75
77
76
Optional:
78
77
@@ -81,10 +80,16 @@ Optional:
81
80
-`max_surge` (Number) Maximum number of additional VMs that are created during an update.
82
81
-`max_unavailable` (Number) Maximum number of VMs that that can be unavailable during an update.
83
82
-`os_name` (String) The name of the OS image. E.g. `flatcar`.
83
+
-`os_version` (String, Deprecated) This field is deprecated, use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead
84
+
-`os_version_min` (String) The minimum OS image version. This field will be used to set the minimum OS image version on creation/update of the cluster. If unset, the latest supported OS image version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field.
84
85
-`taints` (Attributes List) Specifies a taint list as defined below. (see [below for nested schema](#nestedatt--node_pools--taints))
85
86
-`volume_size` (Number) The volume size in GB. E.g. `20`
86
87
-`volume_type` (String) Specifies the volume type. E.g. `storage_premium_perf1`.
87
88
89
+
Read-Only:
90
+
91
+
-`os_version_used` (String) Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html).
92
+
88
93
<aid="nestedatt--node_pools--taints"></a>
89
94
### Nested Schema for `node_pools.taints`
90
95
@@ -150,10 +155,10 @@ Optional:
150
155
151
156
Required:
152
157
153
-
-`enable_machine_image_version_updates` (Boolean) Flag to enable/disable auto-updates of the OS image version.
154
158
-`end` (String) Time for maintenance window end. E.g. `01:23:45Z`, `05:00:00+02:00`.
155
159
-`start` (String) Time for maintenance window start. E.g. `01:23:45Z`, `05:00:00+02:00`.
156
160
157
161
Optional:
158
162
159
-
-`enable_kubernetes_version_updates` (Boolean) Flag to enable/disable auto-updates of the Kubernetes version. Defaults to `true. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html).
163
+
-`enable_kubernetes_version_updates` (Boolean) Flag to enable/disable auto-updates of the Kubernetes version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html).
164
+
-`enable_machine_image_version_updates` (Boolean) Flag to enable/disable auto-updates of the OS image version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html).
Description: "The minimum OS image version, this field is always nil. "+SKEUpdateDoc+" To get the current OS image version being used for the node pool, use the read-only `os_version_used` field.",
135
+
Computed: true,
136
+
},
133
137
"os_version": schema.StringAttribute{
134
138
Description: "The OS image version.",
135
139
Computed: true,
136
140
},
141
+
"os_version_used": schema.StringAttribute{
142
+
Description: "Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. "+SKEUpdateDoc,
143
+
Computed: true,
144
+
},
137
145
"minimum": schema.Int64Attribute{
138
146
Description: "Minimum number of nodes in the pool.",
0 commit comments