brew install terraform
brew install awscli
brew install docker
brew install kubernetes-cli
brew install k9sInitializes terraform providers required for local deployment.
make init Make sure you have the AWS credentials configured. Subsequent terraform commands will use these credentials to create the infrastructure.
aws configureCreates a local kubernetes cluster using minikube.
make infraTo enable kubectl usage with the newly created AWS EKS cluster, use the following command.
make kubectl_setupTo monitor the cluster using k9s, use the following command.
k9sBuild and upload the docker image for the application, into ECR.
make upload_docker_imagesmake applicationkubectl get pods # All gossip-kv-* pods should show status as "Running"make tunnel_grafanamake tunnel_prometheusmake configDestroys the AWS resources and cleans up terraform state.
make clean