-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5cda6db
commit d643d62
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
helm delete aidocumentlibrarychat | ||
helm install aidocumentlibrarychat ./ --set serviceType=NodePort |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |