recipes-manager-deployment
Kubernetes deployment for recipes-manager and all it's micro-services.
Example Deployment on Minikube
Start and Deploy
-
Start Minikube
minikube start # minikube start --driver podman # alternative driver
-
Enable Ingress Addon
minikube addons enable ingress
-
(Optional) Enable registry, e.g., for testing
minikube addons enable registry docker run --rm -it --network=host alpine ash -c "apk add socat && socat TCP-LISTEN:5000,reuseaddr,fork TCP:$(minikube ip):5000"
-
Check if everything is running
kubectl get nodes
-
Download deployment scripts by cloning this repository
git clone https://github.com/ottenwbe/recipes-manager-deployment.git
-
Adapt your configuration in a yaml file, i.e., myval.yml
recipesManager: drive: secrets: | <client secret>
-
Deploy with HELM
helm install test-recipes-manager charts/recipe-manager --namespace test-recipes-manager --create-namespace -f myvals.yml
Update Deployment
-
Change the configruation yaml file
-
Upgrade HELM deployment
helm upgrade test-recipes-manager charts/recipe-manager --namespace test-recipes-manager --create-namespace -f myvals.yml
Delete Deployment
To delete HELM deployment
helm delete test-recipes-manager --namespace test-recipes-manager