Skip to content

Commit

Permalink
cicd demo startup fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gsunner committed Oct 28, 2019
1 parent 922c804 commit 69e6043
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
10 changes: 2 additions & 8 deletions examples/cicd-argocd/seldon-core/start-seldon-core
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,5 @@ KUBECTL="kubectl --context=${KUBE_CONTEXT}"
${KUBECTL} apply -f ${STARTUP_DIR}/seldon-aggregate-to-admin.json

helm install --kube-context="${KUBE_CONTEXT}" ${SELDON_CORE_DIR}/helm-charts/seldon-core-operator --name seldon-core --set usageMetrics.enabled=true --namespace seldon-system
helm install --kube-context="${KUBE_CONTEXT}" ${SELDON_CORE_DIR}/helm-charts/seldon-core-oauth-gateway \
--name seldon-gateway \
--set serviceType=ClusterIP \
--namespace default
helm install --kube-context="${KUBE_CONTEXT}" stable/ambassador \
--name ambassador \
\
--namespace default
helm install --kube-context="${KUBE_CONTEXT}" stable/ambassador --name ambassador --namespace default --set crds.keep=false --set replicaCount=1

1 change: 0 additions & 1 deletion examples/cicd-argocd/seldon-core/stop-seldon-core
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ source ${STARTUP_DIR}/../settings.sh
KUBECTL="kubectl --context=${KUBE_CONTEXT}"

helm delete --kube-context="${KUBE_CONTEXT}" seldon-core --purge || echo "ignore not found"
helm delete --kube-context="${KUBE_CONTEXT}" seldon-gateway --purge || echo "ignore not found"
helm delete --kube-context="${KUBE_CONTEXT}" ambassador --purge || echo "ignore not found"

# remove seldon crd access to admin role
Expand Down
4 changes: 2 additions & 2 deletions examples/cicd-argocd/watch-rollout-status
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ ${KUBECTL} rollout status deployment.apps/argo-ui -n argo -w
${KUBECTL} rollout status deployment.apps/workflow-controller -n argo -w
${KUBECTL} rollout status deployment.apps/activity-monitor-deployment -n default -w
${KUBECTL} rollout status deployment.apps/docker-private-registry-deployment -n default -w
${KUBECTL} rollout status deployment.apps/seldon-core-seldon-apiserver -n default -w
${KUBECTL} rollout status deployment.apps/seldon-core-seldon-cluster-manager -n default -w
${KUBECTL} rollout status deployment/seldon-controller-manager -n seldon-system -w
${KUBECTL} rollout status deployment.apps/ambassador

${KUBECTL} rollout status deployment.apps/argocd-application-controller -n argocd -w
${KUBECTL} rollout status deployment.apps/argocd-repo-server -n argocd -w
Expand Down

0 comments on commit 69e6043

Please sign in to comment.