No more nfs

This commit is contained in:
kiloreux 2018-04-25 15:01:49 +01:00
parent c2db0f9af5
commit a99e321f9a
No known key found for this signature in database
GPG Key ID: 8B81EA3FA91EB758
2 changed files with 0 additions and 16 deletions

View File

@ -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: "/"

View File

@ -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 set-context travis --cluster=$CLUSTER_NAME --user=travis --namespace=tus
kubectl config use-context travis 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. sleep 10s # This cost me some precious debugging time.
kubectl apply --validate=false -f "${__root}/.infra/kube/tusd-kube.yaml" kubectl apply --validate=false -f "${__root}/.infra/kube/tusd-kube.yaml"