GitHunt
SU

Substancia/kubernetes-chatapp

For Kubernetes resources of nestjs-chatapp

kubernetes-chatapp

For Kubernetes resources of nestjs-chatapp

How to run

Prerequisites

  1. Install minikube and kubectl
  2. Postman (optional, to test APIs)

Running steps

  1. Start minikube

    minikube start

  2. Ensure minikube is up

    minikube status

  3. Submit resource definitions to Kubernetes

    kubectl apply -f kube

  4. Watch the pods come alive

    kubectl get pods --watch

  5. Get URL to access chatapp-backend app

    minikube service chatapp-backend --url

  6. Use this URL as base URL to test these APIs

Cleanup

  1. Delete the kubernetes deployment

    kubectl delete -f kube

  2. Stop minikube

    minikube stop

This is an educational project. Thanks for stopping by, have a great day!

Contributors

Created March 5, 2023
Updated March 5, 2023
Substancia/kubernetes-chatapp | GitHunt