-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
42 lines (34 loc) · 1.65 KB
/
Copy pathmakefile
File metadata and controls
42 lines (34 loc) · 1.65 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
34
35
36
37
38
39
40
41
42
#needs to be called first
.install-secret:
kubectl create -n istio-system secret tls istio-ingressgateway-certs --key certs/sndemo.com.key.pem --cert certs/sndemo.com.cert.pem
.delete-secret:
kubectl delete --ignore-not-found=true -n istio-system secret istio-ingressgateway-certs
.install-ms-gateway:
kubectl apply -f gateway/ms-gateway.yaml
.delete-ms-gateway:
kubectl delete -f gateway/ms-gateway.yaml
.install-argocd-gateway:
kubectl apply -f gateway/argocd-gateway.yaml
.delete-argocd-gateway:
kubectl delete -f gateway/argocd-gateway.yaml
.install-seldon-api-gateway:
kubectl apply -f gateway/seldon-api-gateway.yaml
.delete-seldon-api-gateway:
kubectl delete -f gateway/seldon-api-gateway.yaml
.install-k8s-gateway:
kubectl apply -f gateway/k8s-gateway.yaml
kubectl create serviceaccount demo-dashboard-sa
kubectl create clusterrolebinding demo-dashboard-sa --clusterrole=cluster-admin --serviceaccount=default:demo-dashboard-sa
kubectl describe secret
echo "run kubectl describe secret <secret name> to get the token"
.delete-k8s-gateway:
kubectl delete -f gateway/k8s-gateway.yaml
kubectl delete serviceaccount demo-dashboard-sa
kubectl delete clusterrolebinding demo-dashboard-sa
# for services exposed by istio: prometheus, servicegraph, jaeger-query, grafana
.install-istio-gateway:
kubectl apply -f gateway/istio-gateway.yaml
.delete-istio-gateway:
kubectl delete -f gateway/istio-gateway.yaml
.install-all-gateways: .install-secret .install-ms-gateway .install-k8s-gateway .install-istio-gateway .install-seldon-api-gateway
.delete-all-gateways: .delete-ms-gateway .delete-k8s-gateway .delete-istio-gateway .delete-secret .delete-seldon-api-gateway