forked from Kong/kong-mesh-dist-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (20 loc) · 1.11 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
setup_minikube:
sudo minikube delete 2>/dev/null
sudo minikube start --vm-driver none
sudo chown -R $$USER $$HOME/.minikube
sudo chgrp -R $$USER $$HOME/.minikube
clean:
kubectl delete -f https://raw.githubusercontent.com/Kong/kong-dist-kubernetes/kong-1.0/postgres.yaml
kubectl delete -f https://raw.githubusercontent.com/Kong/kong-dist-kubernetes/kong-1.0/kong_migration_postgres.yaml
kubectl delete -f https://raw.githubusercontent.com/Kong/kong-dist-kubernetes/kong-1.0/kong_postgres.yaml
kubectl delete -f serviceb.yaml
kubectl delete -f servicea.yaml
run:
kubectl apply -f https://raw.githubusercontent.com/Kong/kong-dist-kubernetes/kong-1.0/postgres.yaml
kubectl apply -f https://raw.githubusercontent.com/Kong/kong-dist-kubernetes/kong-1.0/kong_migration_postgres.yaml
kubectl apply -f https://raw.githubusercontent.com/Kong/kong-dist-kubernetes/kong-1.0/kong_postgres.yaml
kubectl apply -f serviceb.yaml
kubectl apply -f servicea.yaml
build-docker-images:
docker build -t mashape/kong-enterprise:mesh -f Dockerfile.kong-mesh .
docker build -t mashape/kong-enterprise:mesh-config -f Dockerfile.kong-config .