-
Notifications
You must be signed in to change notification settings - Fork 2
Kubernetes setup
Navinn Ravindaran edited this page Jul 30, 2022
·
1 revision
- Start minikube and build docker images
minikube start
eval $(minikube -p minikube docker-env)
docker build . -t drawhub/base:latest --no-cache
docker compose build client server --no-cache
1.1 Enable Ingress
minikube addons enable ingress
- Load Secrets
kubectl create secret generic app-secret --from-env-file ./.env
- Apply manifests
kubectl apply -f ./k8s/mongo.yml
kubectl apply -f ./k8s/client.yml
kubectl apply -f ./k8s/server.yml
kubectl create -f ./k8s/ingress.yml
3.1. Tunnel IP
minikube tunnel