As a dev
I need running local container on kube
So that I can deploy my application
Details and Assumptions
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.
Create postgres.yaml manifest a to deploy your database as a StatefulSet.
Add a /health endpoint to your microservice that returns {"status":"OK"} and 200_OK return code so that Kubernetes knows that your microservice is healthy.
Use the Kubernetes CLI kubectl command to deploy your service to your local Kubernetes cluster.
Make sure that the ingress can access your application.
Acceptance Criteria
Given the orders repo
When the container is built and run with `kubectl apply -f k8s`
Then container starts and I can access service via `localhost:8080`
As a dev I need running local container on kube So that I can deploy my application
Details and Assumptions
Make sure that the ingress can access your application.
Acceptance Criteria