-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathseldon.sh
executable file
·31 lines (22 loc) · 1.21 KB
/
seldon.sh
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
#!/usr/bin/env bash
set -e
cd ${DCOS_HOME}
[ -z "$HELM_INSTALLED" ] && echo "Helm and tiller must be installed ..." && ./helm.sh
helm install seldon-core-crd --name seldon-core-crd \
--repo https://storage.googleapis.com/seldon-charts \
--set usage_metrics.enabled=true \
--set rbac.enabled=false
kubectl create namespace seldon
helm install seldon-core --name seldon-core \
--repo https://storage.googleapis.com/seldon-charts \
--set rbac.enabled=false \
--namespace seldon
helm install seldon-core-analytics --name seldon-core-analytics \
--repo https://storage.googleapis.com/seldon-charts \
--set grafana_prom_admin_password=password \
--set persistence.enabled=false \
--set rbac.enabled=false \
--namespace seldon
export SELDON_INSTALLED=true
# kubectl port-forward --namespace=seldon $(kubectl get pods --namespace=seldon --selector="app=seldon-apiserver-container-app" --output=template --template="{{with index .items 0}}{{.metadata.name}}{{end}}") 8080:8080 &
# kubectl port-forward --namespace=seldon $(kubectl get pods --namespace=seldon --selector="app=grafana-prom-server" --output=template --template="{{with index .items 0}}{{.metadata.name}}{{end}}") 3000:3000 &