Skip to content

Commit

Permalink
[test] use emptyDir for mysql and minio (kubeflow#759)
Browse files Browse the repository at this point in the history
for testing, no persistent storage is needed.
Use `emptyDir:{}` for minio and mysql

Signed-off-by: Yihong Wang <yh.wang@ibm.com>
  • Loading branch information
yhwang authored Oct 22, 2021
1 parent 3f13201 commit 478df66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/deploy/iks/deploy-kfp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ fi
# No need to build as long as deployed with "kubectl apply -k"
pushd "$KUSTOMIZE_DIR" > /dev/null

yq eval -i '.spec.template.spec.volumes[0]|=.emptyDir={}|del(.spec.template.spec.volumes[0].persistentVolumeClaim)' \
../../third-party/mysql/base/mysql-deployment.yaml
yq eval -i '(.spec.template.spec.volumes[0]|=.emptyDir={}|del(.spec.template.spec.volumes[0].persistentVolumeClaim)' \
../..//third-party/minio/base/minio-deployment.yaml

kustomize edit set image "$API_SERVER_IMAGE=$NEW_API_SERVER_IMAGE"
kustomize edit set image "$METADATA_WRITER_IMAGE=$NEW_METADATA_WRITER_IMAGE"
kustomize edit set image "$PERSISTENCEAGENT_IMAGE=$NEW_PERSISTENCEAGENT_IMAGE"
Expand Down

0 comments on commit 478df66

Please sign in to comment.