Deploy Devdiary On Kubernetes

You can deploy Devdiary on your own kubernetes servers by following the steps mentioned below:

  • Step 1: Create a volume for storing the Devdiary database using the command:
    kubectl apply -f https://raw.githubusercontent.com/mmredsolutions/deploy-devdiary/master/kubernetes/devdiary-db-volume.yml
  • Step 2: Create devdiary-db-configmap configmap using the command:
    kubectl apply -f https://raw.githubusercontent.com/mmredsolutions/deploy-devdiary/master/kubernetes/devdiary-db-configmap.yaml
  • Step 3: Create devdiary-db deployment using the command:
    kubectl apply -f https://raw.githubusercontent.com/mmredsolutions/deploy-devdiary/master/kubernetes/devdiary-db-deployment.yml
  • Step 4: Create devdiary-db service using the command:
    kubectl apply -f https://raw.githubusercontent.com/mmredsolutions/deploy-devdiary/master/kubernetes/devdiary-db-service.yaml
  • Step 5: Create devdiary-web deployment using the command:
    kubectl apply -f https://raw.githubusercontent.com/mmredsolutions/deploy-devdiary/master/kubernetes/devdiary-web-deployment.yml
  • Step 6: Create devdiary-web service using the command:
    kubectl apply -f https://raw.githubusercontent.com/mmredsolutions/deploy-devdiary/master/kubernetes/devdiary-web-service.yaml
  • Step 7 : Access your deployment from the browser using the URL: http://<kubernetes-node-ip>:<devdiary-service-nodeport>

Note: You can change the deployment configuration by downloading the above yml files and modifying them and then deploying accordingly.

Leave a Reply

Your email address will not be published. Required fields are marked *