2018-02-01 14:14:18 +08:00
|
|
|
---
|
2017-11-01 22:25:35 +08:00
|
|
|
# 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.
|
|
|
|
kind: ConfigMap
|
2018-02-01 14:14:18 +08:00
|
|
|
apiVersion: v1
|
2017-11-01 22:25:35 +08:00
|
|
|
metadata:
|
|
|
|
name: local-volume-config
|
2018-02-08 00:57:54 +08:00
|
|
|
namespace: {{ system_namespace }}
|
2017-11-01 22:25:35 +08:00
|
|
|
data:
|
2018-02-09 07:11:07 +08:00
|
|
|
"{{ local_volume_storage_class }}": |
|
2018-02-08 00:47:05 +08:00
|
|
|
{
|
|
|
|
"hostDir": "{{ local_volume_base_dir }}",
|
2018-02-08 01:42:42 +08:00
|
|
|
"mountDir": "{{ local_volume_mount_dir }}"
|
2018-02-08 00:47:05 +08:00
|
|
|
}
|