Skip to content

Commit 2271c20

Browse files
author
chrislovecnm
committed
README updates
- updated the section about ip masquerading since it was inaccurate - made some other notes about the private and beta modules.
1 parent 87bdc01 commit 2271c20

File tree

5 files changed

+68
-48
lines changed

5 files changed

+68
-48
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ The resources/services/activations/deletions that this module will create/trigge
66
- Create GKE Node Pool(s) with provided configuration and attach to cluster
77
- Replace the default kube-dns configmap if `stub_domains` are provided
88
- Activate network policy if `network_policy` is true
9-
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `network_policy` is true
9+
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `configure_ip_masq` is true
10+
11+
Sub modules are provided from creating private clusters, beta private clusters, and beta public clusters as well. Beta sub modules allow for the use of various GKE beta features. See the modules directory for the various sub modules.
1012

1113
## Usage
1214
There are multiple examples included in the [examples](./examples/) folder but simple usage is as follows:
@@ -90,6 +92,7 @@ module "gke" {
9092
}
9193
```
9294

95+
<!-- do not understand what this is about -->
9396
Then perform the following commands on the root folder:
9497

9598
- `terraform init` to get the plugins
@@ -220,14 +223,15 @@ In order to operate with the Service Account you must activate the following API
220223
The project has the following folders and files:
221224

222225
- /: root folder
223-
- /examples: examples for using this module
224-
- /helpers: Helper scripts
225-
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file)
226-
- /test: Folders with files for testing the module (see Testing section on this file)
227-
- /main.tf: main file for this module, contains all the resources to create
228-
- /variables.tf: all the variables for the module
229-
- /output.tf: the outputs of the module
230-
- /readme.MD: this file
226+
- /examples: Examples for using this module and sub module.
227+
- /helpers: Helper scripts.
228+
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file).
229+
- /test: Folders with files for testing the module (see Testing section on this file).
230+
- /main.tf: `main` file for the public module, contains all the resources to create.
231+
- /variables.tf: Variables for the public cluster module.
232+
- /output.tf: The outputs for the public cluster module.
233+
- /README.MD: This file.
234+
- /modules: Private and beta sub modules.
231235

232236
## Templating
233237

autogen/README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Terraform Kubernetes Engine Module
22

3-
This module handles opinionated Google Cloud Platform Kubernetes Engine cluster creation and configuration with Node Pools, IP MASQ, Network Policy, etc.{% if private_cluster %} This particular submodule creates a [private cluster](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters){% endif %}{% if beta_cluster %}Beta features are enabled on this submodule.{% endif %}
3+
This module handles opinionated Google Cloud Platform Kubernetes Engine cluster creation and configuration with Node Pools, IP MASQ, Network Policy, etc.{% if private_cluster %} This particular submodule creates a [private cluster](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters){% endif %}{% if beta_cluster %}Beta features are enabled in this submodule.{% endif %}
44

55
The resources/services/activations/deletions that this module will create/trigger are:
66
- Create a GKE cluster with the provided addons
77
- Create GKE Node Pool(s) with provided configuration and attach to cluster
88
- Replace the default kube-dns configmap if `stub_domains` are provided
99
- Activate network policy if `network_policy` is true
10-
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `network_policy` is true
10+
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `configure_ip_masq` is true
11+
12+
Sub modules are provided from creating private clusters, beta private clusters, and beta public clusters as well. Beta sub modules allow for the use of various GKE beta features. See the modules directory for the various sub modules.
1113

1214
{% if private_cluster %}
1315
**Note**: You must run Terraform from a VM on the same VPC as your cluster, otherwise there will be issues connecting to the GKE master.
@@ -104,6 +106,7 @@ module "gke" {
104106
}
105107
```
106108

109+
<!-- do not understand what this is about -->
107110
Then perform the following commands on the root folder:
108111

109112
- `terraform init` to get the plugins
@@ -167,14 +170,15 @@ In order to operate with the Service Account you must activate the following API
167170
The project has the following folders and files:
168171

169172
- /: root folder
170-
- /examples: examples for using this module
171-
- /helpers: Helper scripts
172-
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file)
173-
- /test: Folders with files for testing the module (see Testing section on this file)
174-
- /main.tf: main file for this module, contains all the resources to create
175-
- /variables.tf: all the variables for the module
176-
- /output.tf: the outputs of the module
177-
- /readme.MD: this file
173+
- /examples: Examples for using this module and sub module.
174+
- /helpers: Helper scripts.
175+
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file).
176+
- /test: Folders with files for testing the module (see Testing section on this file).
177+
- /main.tf: `main` file for the public module, contains all the resources to create.
178+
- /variables.tf: Variables for the public cluster module.
179+
- /output.tf: The outputs for the public cluster module.
180+
- /README.MD: This file.
181+
- /modules: Private and beta sub modules.
178182

179183
## Templating
180184

modules/beta-private-cluster/README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Terraform Kubernetes Engine Module
22

3-
This module handles opinionated Google Cloud Platform Kubernetes Engine cluster creation and configuration with Node Pools, IP MASQ, Network Policy, etc. This particular submodule creates a [private cluster](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters)Beta features are enabled on this submodule.
3+
This module handles opinionated Google Cloud Platform Kubernetes Engine cluster creation and configuration with Node Pools, IP MASQ, Network Policy, etc. This particular submodule creates a [private cluster](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters)Beta features are enabled in this submodule.
44
The resources/services/activations/deletions that this module will create/trigger are:
55
- Create a GKE cluster with the provided addons
66
- Create GKE Node Pool(s) with provided configuration and attach to cluster
77
- Replace the default kube-dns configmap if `stub_domains` are provided
88
- Activate network policy if `network_policy` is true
9-
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `network_policy` is true
9+
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `configure_ip_masq` is true
10+
11+
Sub modules are provided from creating private clusters, beta private clusters, and beta public clusters as well. Beta sub modules allow for the use of various GKE beta features. See the modules directory for the various sub modules.
1012

1113
**Note**: You must run Terraform from a VM on the same VPC as your cluster, otherwise there will be issues connecting to the GKE master.
1214

@@ -97,6 +99,7 @@ module "gke" {
9799
}
98100
```
99101

102+
<!-- do not understand what this is about -->
100103
Then perform the following commands on the root folder:
101104

102105
- `terraform init` to get the plugins
@@ -239,14 +242,15 @@ In order to operate with the Service Account you must activate the following API
239242
The project has the following folders and files:
240243

241244
- /: root folder
242-
- /examples: examples for using this module
243-
- /helpers: Helper scripts
244-
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file)
245-
- /test: Folders with files for testing the module (see Testing section on this file)
246-
- /main.tf: main file for this module, contains all the resources to create
247-
- /variables.tf: all the variables for the module
248-
- /output.tf: the outputs of the module
249-
- /readme.MD: this file
245+
- /examples: Examples for using this module and sub module.
246+
- /helpers: Helper scripts.
247+
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file).
248+
- /test: Folders with files for testing the module (see Testing section on this file).
249+
- /main.tf: `main` file for the public module, contains all the resources to create.
250+
- /variables.tf: Variables for the public cluster module.
251+
- /output.tf: The outputs for the public cluster module.
252+
- /README.MD: This file.
253+
- /modules: Private and beta sub modules.
250254

251255
## Templating
252256

modules/beta-public-cluster/README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Terraform Kubernetes Engine Module
22

3-
This module handles opinionated Google Cloud Platform Kubernetes Engine cluster creation and configuration with Node Pools, IP MASQ, Network Policy, etc.Beta features are enabled on this submodule.
3+
This module handles opinionated Google Cloud Platform Kubernetes Engine cluster creation and configuration with Node Pools, IP MASQ, Network Policy, etc.Beta features are enabled in this submodule.
44
The resources/services/activations/deletions that this module will create/trigger are:
55
- Create a GKE cluster with the provided addons
66
- Create GKE Node Pool(s) with provided configuration and attach to cluster
77
- Replace the default kube-dns configmap if `stub_domains` are provided
88
- Activate network policy if `network_policy` is true
9-
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `network_policy` is true
9+
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `configure_ip_masq` is true
10+
11+
Sub modules are provided from creating private clusters, beta private clusters, and beta public clusters as well. Beta sub modules allow for the use of various GKE beta features. See the modules directory for the various sub modules.
1012

1113
## Usage
1214
There are multiple examples included in the [examples](./examples/) folder but simple usage is as follows:
@@ -92,6 +94,7 @@ module "gke" {
9294
}
9395
```
9496

97+
<!-- do not understand what this is about -->
9598
Then perform the following commands on the root folder:
9699

97100
- `terraform init` to get the plugins
@@ -230,14 +233,15 @@ In order to operate with the Service Account you must activate the following API
230233
The project has the following folders and files:
231234

232235
- /: root folder
233-
- /examples: examples for using this module
234-
- /helpers: Helper scripts
235-
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file)
236-
- /test: Folders with files for testing the module (see Testing section on this file)
237-
- /main.tf: main file for this module, contains all the resources to create
238-
- /variables.tf: all the variables for the module
239-
- /output.tf: the outputs of the module
240-
- /readme.MD: this file
236+
- /examples: Examples for using this module and sub module.
237+
- /helpers: Helper scripts.
238+
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file).
239+
- /test: Folders with files for testing the module (see Testing section on this file).
240+
- /main.tf: `main` file for the public module, contains all the resources to create.
241+
- /variables.tf: Variables for the public cluster module.
242+
- /output.tf: The outputs for the public cluster module.
243+
- /README.MD: This file.
244+
- /modules: Private and beta sub modules.
241245

242246
## Templating
243247

modules/private-cluster/README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ The resources/services/activations/deletions that this module will create/trigge
66
- Create GKE Node Pool(s) with provided configuration and attach to cluster
77
- Replace the default kube-dns configmap if `stub_domains` are provided
88
- Activate network policy if `network_policy` is true
9-
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `network_policy` is true
9+
- Add `ip-masq-agent` configmap with provided `non_masquerade_cidrs` if `configure_ip_masq` is true
10+
11+
Sub modules are provided from creating private clusters, beta private clusters, and beta public clusters as well. Beta sub modules allow for the use of various GKE beta features. See the modules directory for the various sub modules.
1012

1113
**Note**: You must run Terraform from a VM on the same VPC as your cluster, otherwise there will be issues connecting to the GKE master.
1214

@@ -95,6 +97,7 @@ module "gke" {
9597
}
9698
```
9799

100+
<!-- do not understand what this is about -->
98101
Then perform the following commands on the root folder:
99102

100103
- `terraform init` to get the plugins
@@ -229,14 +232,15 @@ In order to operate with the Service Account you must activate the following API
229232
The project has the following folders and files:
230233

231234
- /: root folder
232-
- /examples: examples for using this module
233-
- /helpers: Helper scripts
234-
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file)
235-
- /test: Folders with files for testing the module (see Testing section on this file)
236-
- /main.tf: main file for this module, contains all the resources to create
237-
- /variables.tf: all the variables for the module
238-
- /output.tf: the outputs of the module
239-
- /readme.MD: this file
235+
- /examples: Examples for using this module and sub module.
236+
- /helpers: Helper scripts.
237+
- /scripts: Scripts for specific tasks on module (see Infrastructure section on this file).
238+
- /test: Folders with files for testing the module (see Testing section on this file).
239+
- /main.tf: `main` file for the public module, contains all the resources to create.
240+
- /variables.tf: Variables for the public cluster module.
241+
- /output.tf: The outputs for the public cluster module.
242+
- /README.MD: This file.
243+
- /modules: Private and beta sub modules.
240244

241245
## Templating
242246

0 commit comments

Comments
 (0)