What we have done so far
- Overview
What is the overall goal for today
- overview
How are we going to acheive this
- CI/CD Setup
- Docker Registry
- Kubernetes Cluster:
- Terraform setup
- Setup aks/eks cluster using terraform with 4 workspaces and backends
- Call terraform init and apply from ci/cd
- Configure credentials to kubectl
- Deploying Applications
- We need manifests
- Problem with manifests and then we will use Kustomize.
Using Terraform to Create K8s Cluster
- Create a linux vm
- install terraform
- get/write the terraform templates to create k8s cluster
- I will be using this node for terraform and kubectl as well
- EKS cluster: Refer Here
- Refer Here for the Jenkinsfile
- Execute this from jenkins
- Write Manifest to deploy one service.