DGclasher / knotes

just a simple note taking application in node, to test out devOps stuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Knotes

Description

Knotes is a simple note taking application meant for testing kubernetes orchestration

Deployment in Kubernetes

  • You would need minikube, kubectl and docker in order to create a cluster

  • Get the deployment configuration

    wget https://github.com/DGclasher/knotes/raw/kuber/deployment.yaml
    
  • Start minikube

    minikube start
    
  • Export the variables and create pods

    export KNOTES_MONGO_URL="< MongoDB URL to connect >"
    
    envsubst < deployment.yaml | kubectl apply -f -
    
  • Watch the pods baking up

    kubectl get pods --watch
    
  • Access the Application

    minikube service knotes --url
    

About

just a simple note taking application in node, to test out devOps stuff

License:MIT License


Languages

Language:EJS 63.9%Language:JavaScript 34.2%Language:Dockerfile 1.8%