Questo repository permette di configurare il deployment di un microservizio con la relativa configurazione, un service, ed un ingress.
Nginx
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.11.3/deploy/static/provider/cloud/deploy.yaml
Microservizio
kubectl create namespace my-namespace
kubectl apply -f 0_my-service-configmap.yml
kubectl apply -f 1_my-service-deployment.yml
kubectl apply -f 2_my-service-service.yml
kubectl apply -f 4_my-service-ingress.yml
Microservizio
kubectl delete all --all -n my-namespace
kubectl delete namespace my-namespace
Nginx
kubectl delete all --all -n ingress-nginx
kubectl delete namespace ingress-nginx