diff options
author | Victor Morales <victor.morales@intel.com> | 2018-12-06 06:17:34 -0800 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-12-07 00:50:18 -0800 |
commit | 830141329068683777ffcb0abb36415168c2ac20 (patch) | |
tree | ae745f344c07f68d3c3fdcd249489524b92d23bb /vagrant/inventory/group_vars | |
parent | f19da653ff0b1e7a45e8ba66c1a8458390566b1b (diff) |
Enable downloading binaries and containers
The *download_run_once* kubespray config option allows to download
container images only once then push to cluster nodes and the
*download_localhost* option makes the installer node a delegate for
pushing images while running the deployment with ansible.
These two options pretends to reduce the amount of traffic during
the deployment time of the Kubernetes cluster.
Change-Id: I8239cebbf5c322ed52ae0a0bc8774e5e33aada3c
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-425
Diffstat (limited to 'vagrant/inventory/group_vars')
-rw-r--r-- | vagrant/inventory/group_vars/k8s-cluster.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vagrant/inventory/group_vars/k8s-cluster.yml b/vagrant/inventory/group_vars/k8s-cluster.yml index ab0c89ec..4de3a276 100644 --- a/vagrant/inventory/group_vars/k8s-cluster.yml +++ b/vagrant/inventory/group_vars/k8s-cluster.yml @@ -67,3 +67,16 @@ helm_enabled: true # works in the kernel space # https://kubernetes.io/docs/concepts/services-networking/service/#proxy-mode-ipvs #kube_proxy_mode: ipvs + +# Download container images only once then push to cluster nodes in batches +download_run_once: true + +# Where the binaries will be downloaded. +# Note: ensure that you've enough disk space (about 1G) +local_release_dir: "/tmp/releases" + +# Makes the installer node a delegate for pushing images while running +# the deployment with ansible. This maybe the case if cluster nodes +# cannot access each over via ssh or you want to use local docker +# images as a cache for multiple clusters. +download_localhost: true |