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/resources/cluster.md
-133Lines changed: 0 additions & 133 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,22 +22,16 @@ A representation of a cluster you can deploy to.
22
22
### Optional
23
23
24
24
-`bindings` (Attributes) Read and write policies of this cluster. (see [below for nested schema](#nestedatt--bindings))
25
-
-`cloud` (String) The cloud provider used to create this cluster.
26
-
-`cloud_settings` (Attributes) Cloud-specific settings for this cluster. (see [below for nested schema](#nestedatt--cloud_settings))
27
25
-`handle` (String) A short, unique human-readable name used to identify this cluster. Does not necessarily map to the cloud resource name.
28
26
-`helm_repo_url` (String) Helm repository URL you'd like to use in deployment agent Helm install.
29
27
-`helm_values` (String) Additional Helm values you'd like to use in deployment agent Helm installs. This is useful for BYOK clusters that need to use custom images or other constructs.
30
28
-`kubeconfig` (Attributes) (see [below for nested schema](#nestedatt--kubeconfig))
31
29
-`metadata` (String) Arbitrary JSON metadata to store user-specific state of this cluster (e.g. IAM roles for add-ons).
32
-
-`node_pools` (Attributes Map) **Experimental, not ready for production use.** Map of node pool specs managed by this cluster, where the key is name of the node pool and value contains the spec. Leave empty for bring your own cluster. (see [below for nested schema](#nestedatt--node_pools))
33
30
-`protect` (Boolean) If set to `true` then this cluster cannot be deleted.
34
-
-`provider_id` (String) Provider used to create this cluster. Leave empty for bring your own cluster.
35
31
-`tags` (Map of String) Key-value tags used to filter clusters.
36
-
-`version` (String) Kubernetes version to use for this cluster. Leave empty for bring your own cluster. Supported version ranges can be found at https://github.com/pluralsh/console/tree/master/static/k8s-versions.
37
32
38
33
### Read-Only
39
34
40
-
-`desired_version` (String) Desired Kubernetes version for this cluster.
41
35
-`id` (String) Internal identifier of this cluster.
42
36
-`inserted_at` (String) Creation date of this cluster.
43
37
@@ -70,90 +64,6 @@ Optional:
70
64
71
65
72
66
73
-
<aid="nestedatt--cloud_settings"></a>
74
-
### Nested Schema for `cloud_settings`
75
-
76
-
Optional:
77
-
78
-
-`aws` (Attributes) (see [below for nested schema](#nestedatt--cloud_settings--aws))
79
-
-`azure` (Attributes) (see [below for nested schema](#nestedatt--cloud_settings--azure))
80
-
-`byok` (Attributes) (see [below for nested schema](#nestedatt--cloud_settings--byok))
81
-
-`gcp` (Attributes) (see [below for nested schema](#nestedatt--cloud_settings--gcp))
82
-
83
-
<aid="nestedatt--cloud_settings--aws"></a>
84
-
### Nested Schema for `cloud_settings.aws`
85
-
86
-
Required:
87
-
88
-
-`region` (String) AWS region to deploy the cluster to.
89
-
90
-
91
-
<aid="nestedatt--cloud_settings--azure"></a>
92
-
### Nested Schema for `cloud_settings.azure`
93
-
94
-
Required:
95
-
96
-
-`location` (String) String matching one of the canonical Azure region names, i.e. eastus.
97
-
-`network` (String) Name of the Azure virtual network for this cluster.
98
-
-`resource_group` (String) Name of the Azure resource group for this cluster.
99
-
-`subscription_id` (String) GUID of the Azure subscription to hold this cluster.
100
-
101
-
102
-
<aid="nestedatt--cloud_settings--byok"></a>
103
-
### Nested Schema for `cloud_settings.byok`
104
-
105
-
Optional:
106
-
107
-
-`kubeconfig` (Attributes, Deprecated) (see [below for nested schema](#nestedatt--cloud_settings--byok--kubeconfig))
### Nested Schema for `cloud_settings.byok.kubeconfig`
111
-
112
-
Optional:
113
-
114
-
-`client_certificate` (String) The path to a client cert file for TLS. Can be sourced from `PLURAL_KUBE_CLIENT_CERT_DATA`.
115
-
-`client_key` (String, Sensitive) The path to a client key file for TLS. Can be sourced from `PLURAL_KUBE_CLIENT_KEY_DATA`.
116
-
-`cluster_ca_certificate` (String) The path to a cert file for the certificate authority. Can be sourced from `PLURAL_KUBE_CLUSTER_CA_CERT_DATA`.
117
-
-`config_context` (String) kubeconfig context to use. Can be sourced from `PLURAL_KUBE_CTX`.
118
-
-`config_context_auth_info` (String) Can be sourced from `PLURAL_KUBE_CTX_AUTH_INFO`.
119
-
-`config_context_cluster` (String) Can be sourced from `PLURAL_KUBE_CTX_CLUSTER`.
120
-
-`config_path` (String) Path to the kubeconfig file. Can be sourced from `PLURAL_KUBE_CONFIG_PATH`.
121
-
-`exec` (Attributes List) Specifies a command to provide client credentials (see [below for nested schema](#nestedatt--cloud_settings--byok--kubeconfig--exec))
122
-
-`host` (String) The complete address of the Kubernetes cluster, using scheme://hostname:port format. Can be sourced from `PLURAL_KUBE_HOST`.
123
-
-`insecure` (Boolean) Skips the validity check for the server's certificate. This will make your HTTPS connections insecure. Can be sourced from `PLURAL_KUBE_INSECURE`.
124
-
-`password` (String, Sensitive) The password for basic authentication to the Kubernetes cluster. Can be sourced from `PLURAL_KUBE_PASSWORD`.
125
-
-`proxy_url` (String) The URL to the proxy to be used for all requests made by this client. Can be sourced from `PLURAL_KUBE_PROXY_URL`.
126
-
-`tls_server_name` (String) TLS server name is used to check server certificate. If it is empty, the hostname used to contact the server is used. Can be sourced from `PLURAL_KUBE_TLS_SERVER_NAME`.
127
-
-`token` (String, Sensitive) Token is the bearer token for authentication to the Kubernetes cluster. Can be sourced from `PLURAL_KUBE_TOKEN`.
128
-
-`username` (String) The username for basic authentication to the Kubernetes cluster. Can be sourced from `PLURAL_KUBE_USER`.
### Nested Schema for `cloud_settings.byok.kubeconfig.username`
132
-
133
-
Required:
134
-
135
-
-`api_version` (String) Preferred input version.
136
-
-`command` (String) Command to execute.
137
-
138
-
Optional:
139
-
140
-
-`args` (List of String) Arguments to pass to the command when executing it.
141
-
-`env` (Map of String) Defines environment variables to expose to the process.
142
-
143
-
144
-
145
-
146
-
<aid="nestedatt--cloud_settings--gcp"></a>
147
-
### Nested Schema for `cloud_settings.gcp`
148
-
149
-
Required:
150
-
151
-
-`network` (String) GCP network id to use when creating the cluster.
152
-
-`project` (String) GCP project id to deploy cluster to.
153
-
-`region` (String) GCP region to deploy cluster to.
154
-
155
-
156
-
157
67
<aid="nestedatt--kubeconfig"></a>
158
68
### Nested Schema for `kubeconfig`
159
69
@@ -187,46 +97,3 @@ Optional:
187
97
188
98
-`args` (List of String) Arguments to pass to the command when executing it.
189
99
-`env` (Map of String) Defines environment variables to expose to the process.
190
-
191
-
192
-
193
-
<aid="nestedatt--node_pools"></a>
194
-
### Nested Schema for `node_pools`
195
-
196
-
Required:
197
-
198
-
-`instance_type` (String) The type of node to use. Usually cloud-specific.
199
-
-`max_size` (Number) Maximum number of instances in this node pool.
200
-
-`min_size` (Number) Minimum number of instances in this node pool.
201
-
-`name` (String) Node pool name. Must be unique.
202
-
203
-
Optional:
204
-
205
-
-`cloud_settings` (Attributes) Cloud-specific settings for this node pool. (see [below for nested schema](#nestedatt--node_pools--cloud_settings))
206
-
-`labels` (Map of String) Kubernetes labels to apply to the nodes in this pool. Useful for node selectors.
207
-
-`taints` (Attributes Set) Any taints you'd want to apply to a node, i.e. for preventing scheduling on spot instances. See [Kubernetes docs](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) for more information. (see [below for nested schema](#nestedatt--node_pools--taints))
208
-
209
-
<aid="nestedatt--node_pools--cloud_settings"></a>
210
-
### Nested Schema for `node_pools.cloud_settings`
211
-
212
-
Optional:
213
-
214
-
-`aws` (Attributes) AWS node pool customizations. (see [below for nested schema](#nestedatt--node_pools--cloud_settings--aws))
0 commit comments