Build a image with the app.
- Go to src
cd src
- Build the image describe in dockerfile
docker image build -t your_usename/app_name:version .
- Run your app
docker container run -d -p 8080:8080 your_usename/app_name:version
- Docker image
- Docker container
- Application
- page
- K3D
choco install k3d
- kubernetes-cli
choco install kubernetes-cli
- Create Cluster
k3d cluster create kube-cluster --servers 3 --agents 3 -p "8080:30000@loadbalancer"
- Run deployment
kubectl apply -f k8s/deployment.yaml
- page