Skip to content

Commit 7fa630e

Browse files
committed
regenerating docs
1 parent 485f62f commit 7fa630e

File tree

8 files changed

+229
-98
lines changed

8 files changed

+229
-98
lines changed

README.md

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,69 @@ Then perform the following commands on the root folder:
8484

8585
[^]: (autogen_docs_start)
8686

87+
## Inputs
88+
89+
| Name | Description | Type | Default | Required |
90+
|------|-------------|:----:|:-----:|:-----:|
91+
| basic\_auth\_password | Kubernetes HTTP Basic auth password. Only used if `enable_basic_auth` is true | string | `` | no |
92+
| basic\_auth\_username | Kubernetes HTTP Basic auth username. Only used if `enable_basic_auth` is true | string | `` | no |
93+
| description | The description of the cluster | string | `` | no |
94+
| enable\_basic\_auth | Basic authentication allows a user to authenticate to the cluster with a username and password. To maximize the security of your cluster, disable this option. Basic authentication is not recommended because it provides no confidentiality protection for transmitted credentials | string | `true` | no |
95+
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | string | `true` | no |
96+
| http\_load\_balancing | Enable httpload balancer addon | string | `true` | no |
97+
| ip\_masq\_link\_local | Whether to masquerade traffic to the link-local prefix (169.254.0.0/16). | string | `false` | no |
98+
| ip\_masq\_resync\_interval | The interval at which the agent attempts to sync its ConfigMap file from the disk. | string | `60s` | no |
99+
| ip\_range\_pods | The secondary ip range to use for pods | string | - | yes |
100+
| ip\_range\_services | The secondary ip range to use for pods | string | - | yes |
101+
| issue\_client\_certificate | Issues a client certificate to authenticate to the cluster endpoint. To maximize the security of your cluster, leave this option disabled. Client certificates don't automatically rotate and aren't easily revocable. WARNING: changing this after cluster creation is destructive! | string | `false` | no |
102+
| kubernetes\_dashboard | Enable kubernetes dashboard addon | string | `false` | no |
103+
| kubernetes\_version | The Kubernetes version of the masters. If set to 'latest' it will pull latest available version in the selected region. | string | `latest` | no |
104+
| logging\_service | The logging service that the cluster should write logs to. Available options include logging.googleapis.com, logging.googleapis.com/kubernetes (beta), and none | string | `logging.googleapis.com` | no |
105+
| maintenance\_start\_time | Time window specified for daily maintenance operations in RFC3339 format | string | `05:00` | no |
106+
| master\_authorized\_networks\_config | The desired configuration options for master authorized networks. Omit the nested cidr_blocks attribute to disallow external access (except the cluster node IPs, which GKE automatically whitelists)<br><br> ### example format ### master_authorized_networks_config = [{ cidr_blocks = [{ cidr_block = "10.0.0.0/8" display_name = "example_network" }], }] | list | `<list>` | no |
107+
| monitoring\_service | The monitoring service that the cluster should write metrics to. Automatically send metrics from pods in the cluster to the Google Cloud Monitoring API. VM metrics will be collected by Google Compute Engine regardless of this setting Available options include monitoring.googleapis.com, monitoring.googleapis.com/kubernetes (beta) and none | string | `monitoring.googleapis.com` | no |
108+
| name | The name of the cluster (required) | string | - | yes |
109+
| network | The VPC network to host the cluster in (required) | string | - | yes |
110+
| network\_policy | Enable network policy addon | string | `false` | no |
111+
| network\_project\_id | The project ID of the shared VPC's host (for shared vpc support) | string | `` | no |
112+
| node\_pools | List of maps containing node pools | list | `<list>` | no |
113+
| node\_pools\_labels | Map of maps containing node labels by node-pool name | map | `<map>` | no |
114+
| node\_pools\_tags | Map of lists containing node network tags by node-pool name | map | `<map>` | no |
115+
| node\_pools\_taints | Map of lists containing node taints by node-pool name | map | `<map>` | no |
116+
| node\_version | The Kubernetes version of the node pools. Defaults kubernetes_version (master) variable and can be overridden for individual node pools by setting the `version` key on them. Must be empyty or set the same as master at cluster creation. | string | `` | no |
117+
| non\_masquerade\_cidrs | List of strings in CIDR notation that specify the IP address ranges that do not use IP masquerading. | list | `<list>` | no |
118+
| project\_id | The project ID to host the cluster in (required) | string | - | yes |
119+
| region | The region to host the cluster in (required) | string | - | yes |
120+
| regional | Whether is a regional cluster (zonal cluster if set false. WARNING: changing this after cluster creation is destructive!) | string | `true` | no |
121+
| remove\_default\_node\_pool | Remove default node pool while setting up the cluster | string | `false` | no |
122+
| service\_account | The service account to default running nodes as if not overridden in `node_pools`. Defaults to the compute engine default service account | string | `` | no |
123+
| stub\_domains | Map of stub domains and their resolvers to forward DNS queries for a certain domain to an external DNS server | map | `<map>` | no |
124+
| subnetwork | The subnetwork to host the cluster in (required) | string | - | yes |
125+
| zones | The zones to host the cluster in (optional if regional cluster / required if zonal) | list | `<list>` | no |
126+
127+
## Outputs
128+
129+
| Name | Description |
130+
|------|-------------|
131+
| ca\_certificate | Cluster ca certificate (base64 encoded) |
132+
| endpoint | Cluster endpoint |
133+
| horizontal\_pod\_autoscaling\_enabled | Whether horizontal pod autoscaling enabled |
134+
| http\_load\_balancing\_enabled | Whether http load balancing enabled |
135+
| kubernetes\_dashboard\_enabled | Whether kubernetes dashboard enabled |
136+
| location | Cluster location (region if regional cluster, zone if zonal cluster) |
137+
| logging\_service | Logging service used |
138+
| master\_authorized\_networks\_config | Networks from which access to master is permitted |
139+
| master\_version | Current master kubernetes version |
140+
| min\_master\_version | Minimum master kubernetes version |
141+
| monitoring\_service | Monitoring service used |
142+
| name | Cluster name |
143+
| network\_policy\_enabled | Whether network policy enabled |
144+
| node\_pools\_names | List of node pools names |
145+
| node\_pools\_versions | List of node pools versions |
146+
| region | Cluster region |
147+
| type | Cluster type (regional / zonal) |
148+
| zones | List of zones in which the cluster resides |
149+
87150
[^]: (autogen_docs_end)
88151

89152
## Requirements
@@ -243,4 +306,4 @@ are as follows:
243306
is a compiled language so there is no standard linter.
244307
* Terraform - terraform has a built-in linter in the 'terraform validate'
245308
command.
246-
* Dockerfiles - hadolint. Can be found in homebrew
309+
* Dockerfiles - hadolint. Can be found in homebrew

examples/deploy_service/README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,37 @@ It will:
1010

1111
[^]: (autogen_docs_start)
1212

13-
1413
## Inputs
1514

1615
| Name | Description | Type | Default | Required |
1716
|------|-------------|:----:|:-----:|:-----:|
18-
| compute_engine_service_account | Service account to associate to the nodes in the cluster | string | - | yes |
19-
| credentials_path | The path to the GCP credentials JSON file | string | - | yes |
20-
| ip_range_pods | The secondary ip range to use for pods | string | - | yes |
21-
| ip_range_services | The secondary ip range to use for pods | string | - | yes |
17+
| cluster\_name\_suffix | A suffix to append to the default cluster name | string | `` | no |
18+
| compute\_engine\_service\_account | Service account to associate to the nodes in the cluster | string | - | yes |
19+
| credentials\_path | The path to the GCP credentials JSON file | string | - | yes |
20+
| ip\_range\_pods | The secondary ip range to use for pods | string | - | yes |
21+
| ip\_range\_services | The secondary ip range to use for pods | string | - | yes |
2222
| network | The VPC network to host the cluster in | string | - | yes |
23-
| project_id | The project ID to host the cluster in | string | - | yes |
23+
| project\_id | The project ID to host the cluster in | string | - | yes |
2424
| region | The region to host the cluster in | string | - | yes |
2525
| subnetwork | The subnetwork to host the cluster in | string | - | yes |
2626

2727
## Outputs
2828

2929
| Name | Description |
3030
|------|-------------|
31-
| ca_certificate | |
32-
| client_token | |
33-
| cluster_name | Cluster name |
34-
| credentials_path | |
35-
| ip_range_pods | The secondary IP range used for pods |
36-
| ip_range_services | The secondary IP range used for services |
37-
| kubernetes_endpoint | |
38-
| location | |
39-
| master_kubernetes_version | The master Kubernetes version |
40-
| network | |
41-
| project_id | |
42-
| region | |
43-
| subnetwork | |
31+
| ca\_certificate | - |
32+
| client\_token | - |
33+
| cluster\_name | Cluster name |
34+
| credentials\_path | - |
35+
| ip\_range\_pods | The secondary IP range used for pods |
36+
| ip\_range\_services | The secondary IP range used for services |
37+
| kubernetes\_endpoint | - |
38+
| location | - |
39+
| master\_kubernetes\_version | The master Kubernetes version |
40+
| network | - |
41+
| project\_id | - |
42+
| region | - |
43+
| subnetwork | - |
4444
| zones | List of zones in which the cluster resides |
4545

4646
[^]: (autogen_docs_end)

examples/disable_client_cert/README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,44 @@ This example illustrates how to create a simple cluster and disable deprecate se
77

88
[^]: (autogen_docs_start)
99

10+
## Inputs
11+
12+
| Name | Description | Type | Default | Required |
13+
|------|-------------|:----:|:-----:|:-----:|
14+
| cluster\_name\_suffix | A suffix to append to the default cluster name | string | `` | no |
15+
| compute\_engine\_service\_account | Service account to associate to the nodes in the cluster | string | - | yes |
16+
| credentials\_path | The path to the GCP credentials JSON file | string | - | yes |
17+
| ip\_range\_pods | The secondary ip range to use for pods | string | - | yes |
18+
| ip\_range\_services | The secondary ip range to use for pods | string | - | yes |
19+
| network | The VPC network to host the cluster in | string | - | yes |
20+
| network\_project\_id | The GCP project housing the VPC network to host the cluster in | string | - | yes |
21+
| project\_id | The project ID to host the cluster in | string | - | yes |
22+
| region | The region to host the cluster in | string | - | yes |
23+
| subnetwork | The subnetwork to host the cluster in | string | - | yes |
24+
25+
## Outputs
26+
27+
| Name | Description |
28+
|------|-------------|
29+
| ca\_certificate | - |
30+
| client\_token | - |
31+
| cluster\_name | Cluster name |
32+
| credentials\_path | - |
33+
| ip\_range\_pods | The secondary IP range used for pods |
34+
| ip\_range\_services | The secondary IP range used for services |
35+
| kubernetes\_endpoint | - |
36+
| location | - |
37+
| master\_kubernetes\_version | The master Kubernetes version |
38+
| network | - |
39+
| project\_id | - |
40+
| region | - |
41+
| subnetwork | - |
42+
| zones | List of zones in which the cluster resides |
43+
1044
[^]: (autogen_docs_end)
1145

1246
To provision this example, run the following from within this directory:
1347
- `terraform init` to get the plugins
1448
- `terraform plan` to see the infrastructure plan
1549
- `terraform apply` to apply the infrastructure build
16-
- `terraform destroy` to destroy the built infrastructure
50+
- `terraform destroy` to destroy the built infrastructure

examples/node_pool/README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,37 @@ This example illustrates how to create a cluster with multiple custom node-pool
44

55
[^]: (autogen_docs_start)
66

7-
87
## Inputs
98

109
| Name | Description | Type | Default | Required |
1110
|------|-------------|:----:|:-----:|:-----:|
12-
| compute_engine_service_account | Service account to associate to the nodes in the cluster | string | - | yes |
13-
| credentials_path | The path to the GCP credentials JSON file | string | - | yes |
14-
| ip_range_pods | The secondary ip range to use for pods | string | - | yes |
15-
| ip_range_services | The secondary ip range to use for pods | string | - | yes |
11+
| cluster\_name\_suffix | A suffix to append to the default cluster name | string | `` | no |
12+
| compute\_engine\_service\_account | Service account to associate to the nodes in the cluster | string | - | yes |
13+
| credentials\_path | The path to the GCP credentials JSON file | string | - | yes |
14+
| ip\_range\_pods | The secondary ip range to use for pods | string | - | yes |
15+
| ip\_range\_services | The secondary ip range to use for pods | string | - | yes |
1616
| network | The VPC network to host the cluster in | string | - | yes |
17-
| project_id | The project ID to host the cluster in | string | - | yes |
17+
| project\_id | The project ID to host the cluster in | string | - | yes |
1818
| region | The region to host the cluster in | string | - | yes |
1919
| subnetwork | The subnetwork to host the cluster in | string | - | yes |
2020

2121
## Outputs
2222

2323
| Name | Description |
2424
|------|-------------|
25-
| ca_certificate | |
26-
| client_token | |
27-
| cluster_name | Cluster name |
28-
| credentials_path | |
29-
| ip_range_pods | The secondary IP range used for pods |
30-
| ip_range_services | The secondary IP range used for services |
31-
| kubernetes_endpoint | |
32-
| location | |
33-
| master_kubernetes_version | The master Kubernetes version |
34-
| network | |
35-
| project_id | |
36-
| region | |
37-
| subnetwork | |
25+
| ca\_certificate | - |
26+
| client\_token | - |
27+
| cluster\_name | Cluster name |
28+
| credentials\_path | - |
29+
| ip\_range\_pods | The secondary IP range used for pods |
30+
| ip\_range\_services | The secondary IP range used for services |
31+
| kubernetes\_endpoint | - |
32+
| location | - |
33+
| master\_kubernetes\_version | The master Kubernetes version |
34+
| network | - |
35+
| project\_id | - |
36+
| region | - |
37+
| subnetwork | - |
3838
| zones | List of zones in which the cluster resides |
3939

4040
[^]: (autogen_docs_end)

examples/shared_vpc/README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,44 @@ This example illustrates how to create a simple cluster where the host network i
44

55
[^]: (autogen_docs_start)
66

7+
## Inputs
8+
9+
| Name | Description | Type | Default | Required |
10+
|------|-------------|:----:|:-----:|:-----:|
11+
| cluster\_name\_suffix | A suffix to append to the default cluster name | string | `` | no |
12+
| compute\_engine\_service\_account | Service account to associate to the nodes in the cluster | string | - | yes |
13+
| credentials\_path | The path to the GCP credentials JSON file | string | - | yes |
14+
| ip\_range\_pods | The secondary ip range to use for pods | string | - | yes |
15+
| ip\_range\_services | The secondary ip range to use for pods | string | - | yes |
16+
| network | The VPC network to host the cluster in | string | - | yes |
17+
| network\_project\_id | The GCP project housing the VPC network to host the cluster in | string | - | yes |
18+
| project\_id | The project ID to host the cluster in | string | - | yes |
19+
| region | The region to host the cluster in | string | - | yes |
20+
| subnetwork | The subnetwork to host the cluster in | string | - | yes |
21+
22+
## Outputs
23+
24+
| Name | Description |
25+
|------|-------------|
26+
| ca\_certificate | - |
27+
| client\_token | - |
28+
| cluster\_name | Cluster name |
29+
| credentials\_path | - |
30+
| ip\_range\_pods | The secondary IP range used for pods |
31+
| ip\_range\_services | The secondary IP range used for services |
32+
| kubernetes\_endpoint | - |
33+
| location | - |
34+
| master\_kubernetes\_version | The master Kubernetes version |
35+
| network | - |
36+
| project\_id | - |
37+
| region | - |
38+
| subnetwork | - |
39+
| zones | List of zones in which the cluster resides |
40+
741
[^]: (autogen_docs_end)
842

943
To provision this example, run the following from within this directory:
1044
- `terraform init` to get the plugins
1145
- `terraform plan` to see the infrastructure plan
1246
- `terraform apply` to apply the infrastructure build
13-
- `terraform destroy` to destroy the built infrastructure
47+
- `terraform destroy` to destroy the built infrastructure

examples/simple_regional/README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,37 @@ This example illustrates how to create a simple cluster.
44

55
[^]: (autogen_docs_start)
66

7-
87
## Inputs
98

109
| Name | Description | Type | Default | Required |
1110
|------|-------------|:----:|:-----:|:-----:|
12-
| compute_engine_service_account | Service account to associate to the nodes in the cluster | string | - | yes |
13-
| credentials_path | The path to the GCP credentials JSON file | string | - | yes |
14-
| ip_range_pods | The secondary ip range to use for pods | string | - | yes |
15-
| ip_range_services | The secondary ip range to use for pods | string | - | yes |
11+
| cluster\_name\_suffix | A suffix to append to the default cluster name | string | `` | no |
12+
| compute\_engine\_service\_account | Service account to associate to the nodes in the cluster | string | - | yes |
13+
| credentials\_path | The path to the GCP credentials JSON file | string | - | yes |
14+
| ip\_range\_pods | The secondary ip range to use for pods | string | - | yes |
15+
| ip\_range\_services | The secondary ip range to use for pods | string | - | yes |
1616
| network | The VPC network to host the cluster in | string | - | yes |
17-
| project_id | The project ID to host the cluster in | string | - | yes |
17+
| project\_id | The project ID to host the cluster in | string | - | yes |
1818
| region | The region to host the cluster in | string | - | yes |
1919
| subnetwork | The subnetwork to host the cluster in | string | - | yes |
2020

2121
## Outputs
2222

2323
| Name | Description |
2424
|------|-------------|
25-
| ca_certificate | |
26-
| client_token | |
27-
| cluster_name | Cluster name |
28-
| credentials_path | |
29-
| ip_range_pods | The secondary IP range used for pods |
30-
| ip_range_services | The secondary IP range used for services |
31-
| kubernetes_endpoint | |
32-
| location | |
33-
| master_kubernetes_version | The master Kubernetes version |
34-
| network | |
35-
| project_id | |
36-
| region | |
37-
| subnetwork | |
25+
| ca\_certificate | - |
26+
| client\_token | - |
27+
| cluster\_name | Cluster name |
28+
| credentials\_path | - |
29+
| ip\_range\_pods | The secondary IP range used for pods |
30+
| ip\_range\_services | The secondary IP range used for services |
31+
| kubernetes\_endpoint | - |
32+
| location | - |
33+
| master\_kubernetes\_version | The master Kubernetes version |
34+
| network | - |
35+
| project\_id | - |
36+
| region | - |
37+
| subnetwork | - |
3838
| zones | List of zones in which the cluster resides |
3939

4040
[^]: (autogen_docs_end)

0 commit comments

Comments
 (0)