Skip to content

Commit

Permalink
kubelet_disk_type supports Temporary (#15464)
Browse files Browse the repository at this point in the history
To address issue: #15449
  • Loading branch information
ms-henglu authored Feb 17, 2022
1 parent cc1f6a1 commit c645ccc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func resourceKubernetesClusterNodePool() *pluginsdk.Resource {
Computed: true,
ValidateFunc: validation.StringInSlice([]string{
string(containerservice.KubeletDiskTypeOS),
string(containerservice.KubeletDiskTypeTemporary),
}, false),
},

Expand Down
1 change: 1 addition & 0 deletions internal/services/containers/kubernetes_nodepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func SchemaDefaultNodePool() *pluginsdk.Schema {
Computed: true,
ValidateFunc: validation.StringInSlice([]string{
string(containerservice.KubeletDiskTypeOS),
string(containerservice.KubeletDiskTypeTemporary),
}, false),
},

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/kubernetes_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ A `default_node_pool` block supports the following:

~> NOTE: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in [this article](https://docs.microsoft.com/en-us/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview).

* `kubelet_disk_type` - (Optional) The type of disk used by kubelet. At this time the only possible value is `OS`.
* `kubelet_disk_type` - (Optional) The type of disk used by kubelet. Possible values are `OS` and `Temporary`.

* `max_pods` - (Optional) The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/kubernetes_cluster_node_pool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ The following arguments are supported:

~> **Note:** FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in [this article](https://docs.microsoft.com/en-us/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview).

* `kubelet_disk_type` - (Optional) The type of disk used by kubelet. Possible Values are `OS`.
* `kubelet_disk_type` - (Optional) The type of disk used by kubelet. Possible values are `OS` and `Temporary`.

* `max_pods` - (Optional) The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.

Expand Down

0 comments on commit c645ccc

Please sign in to comment.