- Run
git clone https://github.com/berkguzel/Dockerfile-dockercompose-deployment.git
in your shell.
- Go into the file where Dockerfile is, run the
docker build -t #yourtag
. - Run
docker run -d -p 8080:8080 #yourtag
. - Run
curl localhost:8080
.
- Go into the correct directory and run
docker-compose build
. - Run
docker-compose up -d
. - Run
curl localhost:8080
.
- Go into the correct directory and run
kubectl apply -f deployment.yaml
. - Run
curl localhost:8080
.
helm install --dry-run --debug ./mychart/ --generate-name
helm install /*name*/ ./mychart/ --set service.type=NodePort
- Run the commands showen by Helm CLI