New addon: local_volume_provisioner (#1909)

This commit is contained in:
Matthew Mosesohn
2017-11-01 14:25:35 +00:00
committed by GitHub
parent ef0a91da27
commit c0e989b17c
12 changed files with 226 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
# The config map is used to configure local volume discovery for Local SSDs on GCE and GKE.
# It is a map from storage class to its mount configuration.
apiVersion: v1
kind: ConfigMap
metadata:
name: local-volume-config
namespace: {{ system_namespace }}
data:
storageClassMap: |
local-storage:
hostDir: "{{ local_volume_base_dir }}"
mountDir: "/mnt/local-storage/"