Skip to content

Commit

Permalink
fix: Update deploy scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege committed May 18, 2019
1 parent fb1f25e commit c33c6e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 29 deletions.
11 changes: 2 additions & 9 deletions scripts/v1alpha1/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set -o xtrace
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/../..

cd ${SCRIPT_ROOT}
kubectl apply -f manifests/v1alpha1/0-namespace.yaml
kubectl apply -f manifests/v1alpha1
kubectl apply -f manifests/v1alpha1/pv
kubectl apply -f manifests/v1alpha1/vizier/db
kubectl apply -f manifests/v1alpha1/vizier/core
Expand All @@ -34,12 +34,5 @@ kubectl apply -f manifests/v1alpha1/vizier/suggestion/hyperband
kubectl apply -f manifests/v1alpha1/vizier/suggestion/bayesianoptimization
kubectl apply -f manifests/v1alpha1/vizier/suggestion/nasrl
kubectl apply -f manifests/v1alpha1/vizier/earlystopping/medianstopping
kubectl apply -f manifests/v1alpha1/studyjobcontroller/crd.yaml
kubectl apply -f manifests/v1alpha1/studyjobcontroller/tfjobsCrd.yaml
kubectl apply -f manifests/v1alpha1/studyjobcontroller/pytorchjobsCrd.yaml
kubectl apply -f manifests/v1alpha1/studyjobcontroller/rbac.yaml
kubectl apply -f manifests/v1alpha1/studyjobcontroller/mcrbac.yaml
kubectl apply -f manifests/v1alpha1/studyjobcontroller/workerConfigMap.yaml
kubectl apply -f manifests/v1alpha1/studyjobcontroller/metricsControllerConfigMap.yaml
kubectl apply -f manifests/v1alpha1/studyjobcontroller/studyjobcontroller.yaml
kubectl apply -f manifests/v1alpha1/studyjobcontroller
cd - > /dev/null
27 changes: 7 additions & 20 deletions scripts/v1alpha2/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,11 @@ set -o xtrace
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/../..

cd ${SCRIPT_ROOT}
kubectl apply -f manifests/v1alpha2/0-namespace.yaml
kubectl apply -f manifests/v1alpha2/katib-controller/crds.yaml
kubectl apply -f manifests/v1alpha2/katib-controller/rbac.yaml
kubectl apply -f manifests/v1alpha2/katib-controller/mcrbac.yaml
kubectl apply -f manifests/v1alpha2/katib-controller/service.yaml
kubectl apply -f manifests/v1alpha2/katib-controller/secret.yaml
kubectl apply -f manifests/v1alpha2/katib-controller/trialTemplateConfigmap.yaml
kubectl apply -f manifests/v1alpha2/katib-controller/metricsControllerConfigMap.yaml
kubectl apply -f manifests/v1alpha2/katib-controller/katib-controller.yaml
kubectl apply -f manifests/v1alpha2/katib/manager/service.yaml
kubectl apply -f manifests/v1alpha2/katib/manager/deployment.yaml
kubectl apply -f manifests/v1alpha2/katib/manager-rest/service.yaml
kubectl apply -f manifests/v1alpha2/katib/manager-rest/deployment.yaml
kubectl apply -f manifests/v1alpha2/katib/pv/pv.yaml
kubectl apply -f manifests/v1alpha2/katib/pv/pvc.yaml
kubectl apply -f manifests/v1alpha2/katib/db/secret.yaml
kubectl apply -f manifests/v1alpha2/katib/db/deployment.yaml
kubectl apply -f manifests/v1alpha2/katib/db/service.yaml
kubectl apply -f manifests/v1alpha2/katib/suggestion/random/deployment.yaml
kubectl apply -f manifests/v1alpha2/katib/suggestion/random/service.yaml
kubectl apply -f manifests/v1alpha2
kubectl apply -f manifests/v1alpha2/katib-controller
kubectl apply -f manifests/v1alpha2/katib/manager
kubectl apply -f manifests/v1alpha2/katib/manager-rest
kubectl apply -f manifests/v1alpha2/katib/pv
kubectl apply -f manifests/v1alpha2/katib/db
kubectl apply -f manifests/v1alpha2/katib/suggestion/random
cd - > /dev/null

0 comments on commit c33c6e7

Please sign in to comment.