- Kind
- Kubernetes
- Golang
- Docker
- Download kind, a application for building local kubernetes cluster.
- Create the cluster using
kind create cluster --config k8s/kind.yaml
- Download kompose, a application for converting a docker compose file into kubernetes.
- Use
cd k8s
andkompose convert -f ../docker-compose.yml
- Using the files generated from kompose, use
kubectl apply -f .
to apply all the resources. - Check using
kubectl get services
\kubectl get deployments
You can run the application local using docker build -t app .
and docker run -p8080:8080 app
. The application will be available using the port 8080.