|
2 | 2 |
|
3 | 3 | This example illustrates how to create a simple private cluster with beta features. |
4 | 4 |
|
5 | | -[^]: (autogen_docs_start) |
6 | | - |
| 5 | +<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
7 | 6 | ## Inputs |
8 | 7 |
|
9 | 8 | | Name | Description | Type | Default | Required | |
10 | | -|------|-------------|:----:|:-----:|:-----:| |
11 | | -| cloudrun | Boolean to enable / disable CloudRun | string | `"true"` | no | |
12 | | -| cluster\_name\_suffix | A suffix to append to the default cluster name | string | `""` | no | |
13 | | -| compute\_engine\_service\_account | Service account to associate to the nodes in the cluster | string | n/a | yes | |
14 | | -| credentials\_path | The path to the GCP credentials JSON file | string | n/a | yes | |
15 | | -| ip\_range\_pods | The secondary ip range to use for pods | string | n/a | yes | |
16 | | -| ip\_range\_services | The secondary ip range to use for pods | string | n/a | yes | |
17 | | -| istio | Boolean to enable / disable Istio | string | `"true"` | no | |
18 | | -| network | The VPC network to host the cluster in | string | n/a | yes | |
19 | | -| project\_id | The project ID to host the cluster in | string | n/a | yes | |
20 | | -| region | The region to host the cluster in | string | n/a | yes | |
21 | | -| subnetwork | The subnetwork to host the cluster in | string | n/a | yes | |
| 9 | +|------|-------------|------|---------|:--------:| |
| 10 | +| cluster\_name\_suffix | A suffix to append to the default cluster name | `string` | `""` | no | |
| 11 | +| compute\_engine\_service\_account | Service account to associate to the nodes in the cluster | `any` | n/a | yes | |
| 12 | +| dns\_cache | Boolean to enable / disable NodeLocal DNSCache | `bool` | `false` | no | |
| 13 | +| gce\_pd\_csi\_driver | (Beta) Whether this cluster should enable the Google Compute Engine Persistent Disk Container Storage Interface (CSI) Driver. | `bool` | `false` | no | |
| 14 | +| ip\_range\_pods | The secondary ip range to use for pods | `any` | n/a | yes | |
| 15 | +| ip\_range\_services | The secondary ip range to use for services | `any` | n/a | yes | |
| 16 | +| network | The VPC network to host the cluster in | `any` | n/a | yes | |
| 17 | +| project\_id | The project ID to host the cluster in | `any` | n/a | yes | |
| 18 | +| region | The region to host the cluster in | `any` | n/a | yes | |
| 19 | +| subnetwork | The subnetwork to host the cluster in | `any` | n/a | yes | |
22 | 20 |
|
23 | 21 | ## Outputs |
24 | 22 |
|
25 | 23 | | Name | Description | |
26 | 24 | |------|-------------| |
27 | | -| ca\_certificate | | |
28 | | -| client\_token | | |
| 25 | +| ca\_certificate | n/a | |
| 26 | +| client\_token | n/a | |
29 | 27 | | cluster\_name | Cluster name | |
30 | | -| credentials\_path | | |
31 | 28 | | ip\_range\_pods | The secondary IP range used for pods | |
32 | 29 | | ip\_range\_services | The secondary IP range used for services | |
33 | | -| kubernetes\_endpoint | | |
34 | | -| location | | |
| 30 | +| kubernetes\_endpoint | n/a | |
| 31 | +| location | n/a | |
35 | 32 | | master\_kubernetes\_version | The master Kubernetes version | |
36 | | -| network | | |
37 | | -| project\_id | | |
38 | | -| region | | |
39 | | -| service\_account | The service account to default running nodes as if not overridden in `node_pools`. | |
40 | | -| subnetwork | | |
| 33 | +| network | n/a | |
| 34 | +| project\_id | n/a | |
| 35 | +| region | n/a | |
| 36 | +| service\_account | The default service account used for running nodes. | |
| 37 | +| subnetwork | n/a | |
41 | 38 | | zones | List of zones in which the cluster resides | |
42 | 39 |
|
43 | | -[^]: (autogen_docs_end) |
| 40 | +<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
44 | 41 |
|
45 | 42 | To provision this example, run the following from within this directory: |
46 | 43 | - `terraform init` to get the plugins |
|
0 commit comments