Skip to content

Commit

Permalink
deploy, manifests: enable cloud storage volume expansion & label… (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
tennix authored Aug 16, 2019
1 parent 2e70a73 commit 3045bfe
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ parameters:
provisioner: alicloud/disk
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ metadata:
name: local-provisioner-config
namespace: kube-system
data:
nodeLabelsForPV: |
- kubernetes.io/hostname
storageClassMap: |
local-volume:
vendor: alibabacloud
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ parameters:
fsType: ext4
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ metadata:
name: local-provisioner-config
namespace: kube-system
data:
nodeLabelsForPV: |
- kubernetes.io/hostname
storageClassMap: |
local-storage:
hostDir: /mnt/local-ssd
Expand Down
2 changes: 2 additions & 0 deletions manifests/gke/local-ssd-provision/local-ssd-provision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ metadata:
name: local-provisioner-config
namespace: kube-system
data:
nodeLabelsForPV: |
- kubernetes.io/hostname
storageClassMap: |
local-storage:
hostDir: /mnt/disks
Expand Down
2 changes: 2 additions & 0 deletions manifests/gke/persistent-disk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: StorageClass
metadata:
name: "pd-ssd"
provisioner: kubernetes.io/gce-pd
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters:
type: pd-ssd
4 changes: 3 additions & 1 deletion manifests/gp2-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ provisioner: kubernetes.io/aws-ebs
parameters:
type: gp2
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
mountOptions:
- debug
- debug

0 comments on commit 3045bfe

Please sign in to comment.