docker build -f ./base-image/Dockerfile -t parsaeian/php-base .
docker build -t parsaeian/laravel-crud .
kubectl create namespace prd
kubectl -f k8s/configmaps.yaml
kubectl -f k8s/deployment.yaml
kubectl expose deployment laravel-crud --port=8000 --target-port=80 --type=NodePort -n prd
# TODO: deploy database
kubectl get svc laravel-crud -n prd
Change this haproxy.cfg with your workers ip and ports