From a99e321f9abe55b93174b1d5b638a73190bf0d7e Mon Sep 17 00:00:00 2001 From: kiloreux Date: Wed, 25 Apr 2018 15:01:49 +0100 Subject: [PATCH] No more nfs --- .infra/kube/nfs.yaml | 14 -------------- .scripts/deploy_gcloud.sh | 2 -- 2 files changed, 16 deletions(-) delete mode 100644 .infra/kube/nfs.yaml diff --git a/.infra/kube/nfs.yaml b/.infra/kube/nfs.yaml deleted file mode 100644 index 68a4fae..0000000 --- a/.infra/kube/nfs.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: nfs-tusd - namespace: tus -spec: - capacity: - storage: 20Gi - accessModes: - - ReadWriteMany - nfs: - # FIXME: use the right IP - server: NFS_SERVER_IP - path: "/" diff --git a/.scripts/deploy_gcloud.sh b/.scripts/deploy_gcloud.sh index 0316ede..0a1b9c2 100755 --- a/.scripts/deploy_gcloud.sh +++ b/.scripts/deploy_gcloud.sh @@ -30,8 +30,6 @@ kubectl config set-credentials travis --token=$SA_TOKEN kubectl config set-context travis --cluster=$CLUSTER_NAME --user=travis --namespace=tus kubectl config use-context travis -sed -i "s#NFS_SERVER_IP#${NFS_SERVER_IP}#" ./.infra/kube/nfs.yaml -kubectl apply -f "${__root}/.infra/kube/nfs.yaml" sleep 10s # This cost me some precious debugging time. kubectl apply --validate=false -f "${__root}/.infra/kube/tusd-kube.yaml"