ottenwbe / recipes-manager-deployment

Kubernetes deplyoment for go-cook web app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recipes-manager-deployment

Kubernetes deployment for recipes-manager and all it's micro-services.

Example Deployment on Minikube

Start and Deploy

  1. Start Minikube

     minikube start 
     # minikube start --driver podman # alternative driver
    
  2. Enable Ingress Addon

     minikube addons enable       ingress
    
  3. (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"   
    
  4. Check if everything is running

     kubectl get nodes
    
  5. Download deployment scripts by cloning this repository

     git clone https://github.com/ottenwbe/recipes-manager-deployment.git
    
  6. Adapt your configuration in a yaml file, i.e., myval.yml

     recipesManager:
       drive:
         secrets: |
           <client secret>        
    
  7. Deploy with HELM

     helm install test-recipes-manager charts/recipe-manager --namespace test-recipes-manager --create-namespace -f myvals.yml
    

Update Deployment

  1. Change the configruation yaml file

  2. 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

About

Kubernetes deplyoment for go-cook web app

License:MIT License


Languages

Language:Smarty 65.5%Language:Shell 34.5%