From e95ba800ea4d38159ddf10e3ff732733d3bbe38c Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Fri, 13 Apr 2018 17:23:10 +0300 Subject: [PATCH] Define local volume provisioner dirs in defaults (#2656) --- roles/kubespray-defaults/defaults/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/kubespray-defaults/defaults/main.yaml b/roles/kubespray-defaults/defaults/main.yaml index d6217d654..1644623a8 100644 --- a/roles/kubespray-defaults/defaults/main.yaml +++ b/roles/kubespray-defaults/defaults/main.yaml @@ -219,6 +219,10 @@ vault_config_dir: "{{ vault_base_dir }}/config" vault_roles_dir: "{{ vault_base_dir }}/roles" vault_secrets_dir: "{{ vault_base_dir }}/secrets" +# Local volume provisioner dirs +local_volume_provisioner_base_dir: /mnt/disks +local_volume_provisioner_mount_dir: /mnt/disks + ## Running on top of openstack vms with cinder enabled may lead to unschedulable pods due to NoVolumeZoneConflict restriction in kube-scheduler. ## See https://github.com/kubernetes-incubator/kubespray/issues/2141 ## Set this variable to true to get rid of this issue