[x] Instructions will be provided on how to access the remote Kubernetes cluster once we have one. In the mean time, please set this up on a local Kubernetes cluster in your desktop development environment like we did in the Kubernetes lab.
[x] Use the make cluster command from the Kubernetes lab to
create a K3S cluster in your development environment.
[x] Create a ./k8s folder in your project repo and add the necessary Kubernetes manifest files for deployment (deployment.yaml, service.yaml, secrets.yaml, ingress.yaml, etc.) so that Kubernetes will know how to deploy your application.
[x] Create postgres.yaml manifest a to deploy your database as a StatefulSet.
[x] Add a /health endpoint that returns {"status":"OK"} and 200_OK return code so that Kubernetes knows that your microservice is healthy.
[x] Use the Kubernetes CLI kubectl command to deploy your service to your local Kubernetes cluster.
[x] Make sure that the ingress can access your application.
Deploy to Kubernetes