- infrastructure built with terraform tool.
- 1 VPC:
-
2 Subnets "management", "restricted"
-
NAT in "management" subnet
-
Private VM in "management" subnet to access the cluster.
-
Private Kubernetes cluster in "restricted" subnet with 3 worker nodes.
-
1 Service Accounts with editor role.
-
image is built from python app then pushed to Artifacts registry so the private cluster can access it
- the deployment is orchestrated by K8S
- cluster is built on GCP
- the cluster is managed by the private VM in "management" subnet
- redis pod
- service that exposes redis po on port 6379
- Deployment of python app
- LoadBalancer that expose the whole deployment