To use files in repository, following requirements must be fulfilled:
make start-minikube CIDR=<CIDR>
, host must be able to connect to minikube VM on this network! (Default 192.168.99.0/24)helm init
make build
Take a look at my-app/values.yaml
, make sure that IP is correct there (it should point to host).
In Makefile
some targets are configured to ease maintenance.
scripts
folder contains helper scripts:
copy_file_to_pod
port_forward
scale_deployment
set_docker_image
Each script is delivered with CLI usage help.
helm install ./my-app
make build-app-v2
scripts/set_docker_image ...
kubectl rollout undo deployment/... --to-revision=...
scripts/scale_deployment ...
scripts/copy_file_to_pod ...
scripts/port_forward ...