-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·28 lines (25 loc) · 789 Bytes
/
setup.sh
File metadata and controls
executable file
·28 lines (25 loc) · 789 Bytes
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
#!/bin/bash
export MINIKUBE_HOME=/goinfre/$USER/
./srcs/minikube_setup.sh
eval $(minikube -p minikube docker-env)
export MINIKUBE_IP=$(minikube ip)
./srcs/metallb/metallb.sh
# build images
./srcs/base_image/build.sh
./srcs/mysql/build.sh
./srcs/phpmyadmin/build.sh
./srcs/wordpress/build.sh
./srcs/nginx/build.sh
./srcs/ftps/build.sh
./srcs/telegraf/build.sh
./srcs/influxdb/build.sh
./srcs/grafana/build.sh
kubectl apply -f ./srcs/mysql/mysql.yaml
kubectl apply -f ./srcs/phpmyadmin/phpmyadmin.yaml
kubectl apply -f ./srcs/wordpress/wordpress.yaml
kubectl apply -f ./srcs/nginx/nginx.yaml
kubectl apply -f ./srcs/ftps/ftps.yaml
kubectl apply -f ./srcs/telegraf/telegraf.yaml
kubectl apply -f ./srcs/influxdb/influxdb.yaml
kubectl apply -f ./srcs/grafana/grafana.yaml
minikube dashboard