Skip to content

Commit

Permalink
Merge pull request #157 from m-lab/sandbox-soltesz-pvc
Browse files Browse the repository at this point in the history
Add persistent volume claims to GKE deployment configs
  • Loading branch information
stephen-soltesz authored Jun 11, 2019
2 parents 7e4973a + cd03e75 commit d16c4c7
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,14 @@ spec:
memory: "3Gi"
cpu: "1"

volumeMounts:
- mountPath: /volume-claim
name: switch-storage

nodeSelector:
gardener-node: "true"

volumes:
- name: switch-storage
persistentVolumeClaim:
claimName: gardener-switch-disk0
10 changes: 10 additions & 0 deletions k8s/data-processing-cluster/deployments/etl-gardener-ndt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,15 @@ spec:
memory: "3Gi"
cpu: "1"

volumeMounts:
- mountPath: /volume-claim
name: ndt-storage

nodeSelector:
gardener-node: "true"

volumes:
- name: ndt-storage
persistentVolumeClaim:
claimName: gardener-ndt-disk0

Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,15 @@ spec:
memory: "3Gi"
cpu: "1"

volumeMounts:
- mountPath: /volume-claim
name: sidestream-storage

nodeSelector:
gardener-node: "true"

volumes:
- name: sidestream-storage
persistentVolumeClaim:
claimName: gardener-sidestream-disk0

Original file line number Diff line number Diff line change
@@ -1,9 +1,48 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: auto-etl-gardener-disk0
name: gardener-ndt-disk0
annotations:
volume.beta.kubernetes.io/storage-class: "fast"
volume.beta.kubernetes.io/storage-class: "slow"
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gardener-switch-disk0
annotations:
volume.beta.kubernetes.io/storage-class: "slow"
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gardener-sidestream-disk0
annotations:
volume.beta.kubernetes.io/storage-class: "slow"
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gardener-tcpinfo-disk0
annotations:
volume.beta.kubernetes.io/storage-class: "slow"
spec:
accessModes:
- ReadWriteOnce
Expand Down

0 comments on commit d16c4c7

Please sign in to comment.