Simple app to teach myself Kubernetes and Terraform. Inspiration.
In very general terms...
- Clone the files to your local machine
- Set up Oracle Cloud CLI
oci setup config
- Run the below command in .oci-infra and .k8s-infra
terraform apply
- Upload to your GitHub and set up GitHub Actions
Since I am not using the paid Network Load Balancer, but instead the NodePort service, changes to the kubernetes yaml files are not automatically synced to the deployment. Hence, to achieve full automation, a GitHub Action (cicd.yaml) has been set up to sync the changes to Oracle.