- Know the basics of Kubernetes: https://www.youtube.com/watch?v=PH-2FfFD2PU&t=3s.
- Know the basics of kubectl commands.
- Know Kubernetes Kubernetes Resources via YAML, Deployments, Replica Sets, and Pods: https://www.youtube.com/watch?v=ohSUtEfDefc.
- Know how to manage env values, secrets of any service deployed in Kubernetes: https://www.youtube.com/watch?v=OW244LxB4oI.
- Know how to port forward to a pod running inside k8s cluster and work locally https://www.youtube.com/watch?v=TT3nd5n5Yus.
- Know sops to secure your keys/credentials: https://www.youtube.com/watch?v=DWzJ87KbwxA.
Choose your cloud and follow the instructions to set up a Kubernetes cluster before moving on to the deployment.
{% content-ref url="on-aws.md" %} on-aws.md {% endcontent-ref %}
{% embed url="https://core.digit.org/guides/installation-guide/quick-setup/2.-deployment" %}
Finally, clean up the cluster setup if you wish, using the following command. This will delete the entire cluster and other cloud resources that were provisioned for the DIGIT setup.
cd DIGIT-DevOps/infra-as-code/terraform/my-digit-eks
terraformdestroy
We have successfully created infra on cloud, and deployed DIGIT in the cluster.