Skip to content

Commit

Permalink
feat: add minikube setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Angular2Guy committed Jan 4, 2024
1 parent f5e961c commit 898cac9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions helm/minikubeSetup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/sh
# execute helmCommand.sh

kubectl get services
minikube ip
http://<minikube ip>:<node-port>/

minikube config set memory 16384
minikube config set cpu 2
minikube config set driver docker
minikube addons list
minikube addons enable metrics-server
minikube start --extra-config=apiserver.service-node-port-range=1024-65535
kubectl edit deployment -n kube-system metrics-server

kubectl logs --previous <pod-name>
kubectl exec --stdin --tty <mongodb-pod-name> -- /bin/bash
kubectl expose pod <postgresql-pod-name> --port=5432 --type="NodePort"
#psql -d movies -U dbuser -h minikubeip -p dbport < dump.sql


minikube pause
minikube unpause

0 comments on commit 898cac9

Please sign in to comment.