File tree Expand file tree Collapse file tree 9 files changed +6
-302
lines changed Expand file tree Collapse file tree 9 files changed +6
-302
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,6 @@ ci-build-images:
135135 @./build/build-image.sh images/fluentd fluentd
136136 @./build/build-image.sh images/nginx-controller nginx-controller
137137 @./build/build-image.sh images/nginx-backend nginx-backend
138- @./build/build-image.sh images/weave-kube weave-kube
139- @./build/build-image.sh images/weave-npc weave-npc
140138 @./build/build-image.sh images/python-packager python-packager
141139 @./build/build-image.sh images/cluster-autoscaler cluster-autoscaler
142140 @./build/build-image.sh images/nvidia nvidia
@@ -157,8 +155,6 @@ ci-push-images:
157155 @./build/push-image.sh fluentd
158156 @./build/push-image.sh nginx-controller
159157 @./build/push-image.sh nginx-backend
160- @./build/push-image.sh weave-kube
161- @./build/push-image.sh weave-npc
162158 @./build/push-image.sh python-packager
163159 @./build/push-image.sh cluster-autoscaler
164160 @./build/push-image.sh nvidia
Original file line number Diff line number Diff line change @@ -120,8 +120,6 @@ export CORTEX_IMAGE_MANAGER="${CORTEX_IMAGE_MANAGER:-cortexlabs/manager:$CORTEX_
120120export CORTEX_IMAGE_FLUENTD=" ${CORTEX_IMAGE_FLUENTD:- cortexlabs/ fluentd: $CORTEX_VERSION_STABLE } "
121121export CORTEX_IMAGE_NGINX_BACKEND=" ${CORTEX_IMAGE_NGINX_BACKEND:- cortexlabs/ nginx-backend: $CORTEX_VERSION_STABLE } "
122122export CORTEX_IMAGE_NGINX_CONTROLLER=" ${CORTEX_IMAGE_NGINX_CONTROLLER:- cortexlabs/ nginx-controller: $CORTEX_VERSION_STABLE } "
123- export CORTEX_IMAGE_WEAVE_KUBE=" ${CORTEX_IMAGE_WEAVE_KUBE:- cortexlabs/ weave-kube: $CORTEX_VERSION_STABLE } "
124- export CORTEX_IMAGE_WEAVE_NPC=" ${CORTEX_IMAGE_WEAVE_NPC:- cortexlabs/ weave-npc: $CORTEX_VERSION_STABLE } "
125123export CORTEX_IMAGE_OPERATOR=" ${CORTEX_IMAGE_OPERATOR:- cortexlabs/ operator: $CORTEX_VERSION_STABLE } "
126124export CORTEX_IMAGE_SPARK=" ${CORTEX_IMAGE_SPARK:- cortexlabs/ spark: $CORTEX_VERSION_STABLE } "
127125export CORTEX_IMAGE_SPARK_OPERATOR=" ${CORTEX_IMAGE_SPARK_OPERATOR:- cortexlabs/ spark-operator: $CORTEX_VERSION_STABLE } "
@@ -153,8 +151,6 @@ function install_eks() {
153151 -e CORTEX_NODE_TYPE=$CORTEX_NODE_TYPE \
154152 -e CORTEX_NODES_MIN=$CORTEX_NODES_MIN \
155153 -e CORTEX_NODES_MAX=$CORTEX_NODES_MAX \
156- -e CORTEX_IMAGE_WEAVE_KUBE=$CORTEX_IMAGE_WEAVE_KUBE \
157- -e CORTEX_IMAGE_WEAVE_NPC=$CORTEX_IMAGE_WEAVE_NPC \
158154 $CORTEX_IMAGE_MANAGER
159155}
160156
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ function create_registry() {
3939 aws ecr create-repository --repository-name=cortexlabs/fluentd --region=$REGISTRY_REGION || true
4040 aws ecr create-repository --repository-name=cortexlabs/nginx-backend --region=$REGISTRY_REGION || true
4141 aws ecr create-repository --repository-name=cortexlabs/nginx-controller --region=$REGISTRY_REGION || true
42- aws ecr create-repository --repository-name=cortexlabs/weave-kube --region=$REGISTRY_REGION || true
43- aws ecr create-repository --repository-name=cortexlabs/weave-npc --region=$REGISTRY_REGION || true
4442 aws ecr create-repository --repository-name=cortexlabs/operator --region=$REGISTRY_REGION || true
4543 aws ecr create-repository --repository-name=cortexlabs/spark --region=$REGISTRY_REGION || true
4644 aws ecr create-repository --repository-name=cortexlabs/spark-operator --region=$REGISTRY_REGION || true
@@ -136,8 +134,6 @@ elif [ "$cmd" = "update" ]; then
136134 build_and_push $ROOT /images/tf-train tf-train latest
137135 build_and_push $ROOT /images/tf-train-gpu tf-train-gpu latest
138136 build_and_push $ROOT /images/nginx-controller nginx-controller latest
139- build_and_push $ROOT /images/weave-kube weave-kube latest
140- build_and_push $ROOT /images/weave-npc weave-npc latest
141137 build_and_push $ROOT /images/nginx-backend nginx-backend latest
142138 build_and_push $ROOT /images/fluentd fluentd latest
143139 build_and_push $ROOT /images/tf-serve tf-serve latest
Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ export CORTEX_IMAGE_MANAGER="cortexlabs/manager:master"
4343export CORTEX_IMAGE_FLUENTD=" cortexlabs/fluentd:master"
4444export CORTEX_IMAGE_NGINX_BACKEND=" cortexlabs/nginx-backend:master"
4545export CORTEX_IMAGE_NGINX_CONTROLLER=" cortexlabs/nginx-controller:master"
46- export CORTEX_IMAGE_WEAVE_KUBE=" cortexlabs/weave-kube:master"
47- export CORTEX_IMAGE_WEAVE_NPC=" cortexlabs/weave-npc:master"
4846export CORTEX_IMAGE_OPERATOR=" cortexlabs/operator:master"
4947export CORTEX_IMAGE_SPARK=" cortexlabs/spark:master"
5048export CORTEX_IMAGE_SPARK_OPERATOR=" cortexlabs/spark-operator:master"
Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ export CORTEX_IMAGE_MANAGER="XXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/cortexlabs
5959export CORTEX_IMAGE_FLUENTD=" XXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/cortexlabs/fluentd:latest"
6060export CORTEX_IMAGE_NGINX_BACKEND=" XXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/cortexlabs/nginx-backend:latest"
6161export CORTEX_IMAGE_NGINX_CONTROLLER=" XXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/cortexlabs/nginx-controller:latest"
62- export CORTEX_IMAGE_WEAVE_KUBE=" XXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/cortexlabs/weave-kube:latest"
63- export CORTEX_IMAGE_WEAVE_NPC=" XXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/cortexlabs/weave-npc:latest"
6462export CORTEX_IMAGE_ONNX_SERVE=" XXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/cortexlabs/onnx-serve:latest"
6563export CORTEX_IMAGE_ONNX_SERVE_GPU=" XXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/cortexlabs/onnx-serve-gpu:latest"
6664export CORTEX_IMAGE_OPERATOR=" XXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/cortexlabs/operator:latest"
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,19 +21,11 @@ echo -e "\nSpinning up the cluster ... (this will take about 15 minutes)\n"
2121eksctl create cluster --name=$CORTEX_CLUSTER \
2222 --region=$CORTEX_REGION \
2323 --zones=$CORTEX_ZONES \
24- --without-nodegroup \
25- --version=1.13
26-
27- # Replace AWS CNI with weave-net
28- kubectl delete daemonset aws-node -n kube-system > /dev/null
29- envsubst < manifests/weave-net.yaml | kubectl apply -f - > /dev/null
30-
31- eksctl create nodegroup --cluster=$CORTEX_CLUSTER \
32- --node-type=$CORTEX_NODE_TYPE \
33- --nodes-min=$CORTEX_NODES_MIN \
34- --nodes-max=$CORTEX_NODES_MAX \
35- --node-ami=auto \
36- --max-pods-per-node=1000 \
37- --asg-access
24+ --node-type=$CORTEX_NODE_TYPE \
25+ --nodes-min=$CORTEX_NODES_MIN \
26+ --nodes-max=$CORTEX_NODES_MAX \
27+ --node-ami=auto \
28+ --version=1.13 \
29+ --asg-access
3830
3931echo -e " \n✓ Spun up the cluster"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments