-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkstart.sh
More file actions
executable file
·33 lines (31 loc) · 1.02 KB
/
Copy pathmkstart.sh
File metadata and controls
executable file
·33 lines (31 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# Wayne Philip
## for use by linux-type bashes only
## prerequisites
# instqalled & fuctioning minikube
## Starting up minikube
## for chrions -- uncomment these
# export TERM=${TERM:-dumb}
# exec 2> /dev/null
### WHAT THIS DOES
# installs miniKube, kubeCtl
# aaplies some basic alis commands
# activates dasboard, ingerss, metrics-server
# applies argocd to the cluster
clear
echo "create aliases"
source aliasMaker.sh
echo "now start minikube up"
## Start miniKube up -- asume you have kubctle installed
minikube stop
minikube delete --all
minikube start
minikube status
echo "addind some stuff"
echo "adding dashboard & ingress &metrics server"
minikube addons enable dashboard
minikube addons enable ingress
minikube addons enable metrics-server
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
echo "done - start the dashboard with || $ minikube dashboard || but we actually like the lens app. "