Skip to content

Commit d875281

Browse files
author
Florencia Comuzzi
committed
document
1 parent 46461df commit d875281

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
11
# k8s-environment-terraform
22
This repository contains Terraform code to create a VPC and various types of Kubernetes clusters in
3-
an environment.
3+
an environment. This work is part of a take home assignment for a company during the interview process.
44

55
* Refer to the [SETUP](https://github.com/florenciacomuzzi/k8s-environment-terraform/blob/main/docs/SETUP.md)
66
for instructions on setting up your own project.
77
* For information on CICD, refer to the
88
[CICD](https://github.com/florenciacomuzzi/k8s-environment-terraform/blob/main/docs/SDLC.md) documentation.
99

10+
---
11+
12+
## Assumptions
13+
I have assumed the following:
14+
* A unique root module is expected i.e. can't use existing module like
15+
[`terraform-google-kubernetes-engine/modules/private-cluster`](https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/tree/v36.1.0/modules/beta-private-cluster).
16+
* Modules are opinionated.
17+
* Scale is unknown so sensibility of sample values is subjective.
18+
19+
---
20+
21+
## Testing
22+
These modules were _tested_ in a GCP project created for this assignment. A budget of $100 was set.
23+
The `main` branch represents the production environment and is currently up.
24+
25+
---
26+
27+
## Networking
28+
The network setup is unknown. In a real scenario, there is careful planning of IP address ranges for
29+
services, pods, and load balancers. Additionally, the `private-k8s-cluster` module creates a jump host.
30+
31+
---
32+
1033
<!-- BEGIN_TF_DOCS -->
1134
## Requirements
1235

main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,5 @@ module "gke" {
2828
cluster_autoscaling_max_cpu = var.cluster_autoscaling_max_cpu
2929
node_pools = var.node_pools
3030
jump_host_ip_address = var.jump_host_ip_address
31-
create_jump_host = var.create_jump_host
3231
depends_on = [module.vpc]
3332
}

0 commit comments

Comments
 (0)