c12s-kubespray/roles/kubernetes-apps/local_volume_provisioner/templates/volume-config.yml.j2
2017-11-01 14:25:35 +00:00

12 lines
388 B
Django/Jinja

# 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/"