c12s-kubespray/docs
Johnny Halfmoon 23c9071c30 Added file and container image caching (#4828)
* File and container image downloads are now cached localy, so that repeated vagrant up/down runs do not trigger downloading of those files. This is especially useful on laptops with kubernetes runnig locally on vm's. The total size of the cache, after an ansible run, is currently around 800MB, so bandwidth (=time) savings can be quite significant.

* When download_run_once is false, the default is still not to cache, but setting download_force_cache will still enable caching.

* The local cache location can be set with download_cache_dir and defaults to /tmp/kubernetes_cache

* A local docker instance is no longer required to cache docker images; Images are cached to file. A local docker instance is still required, though, if you wish to download images on localhost.

* Fixed a FIXME, wher the argument was that delegate_to doesn't play nice with omit. That is a correct observation and the fix is to use default(inventory_host) instead of default(omit). See ansible/ansible#26009

* Removed "Register docker images info" task from download_container and set_docker_image_facts because it was faulty and unused.

* Removed redundant when:download.{container,enabled,run_once} conditions from {sync,download}_container.yml

* All features of commit d6fd0d2aca by Timoses <timosesu@gmail.com>, merged May 1st 2019, are included in this patch. Not all code was included verbatim, but each feature of that commit was checked to be working in this patch. One notable change: The actual downloading of the kubeadm images was moved to {download,sync)_container, to enable caching.

Note 1: I considered splitting this patch, but most changes that are not directly related to caching, are a pleasant by-product of implementing the caching code, so splitting would be impractical.

Note 2: I have my doubts about the usefulness of the upload, download and upgrade tags in the download role. Must they remain or can they be removed? If anybody knows, then please speak up.
2019-06-10 11:21:07 -07:00
..
calico_peer_example Yamllint fixes (#4410) 2019-04-01 02:38:33 -07:00
figures rename almost all mentions of kargo 2017-06-16 13:25:46 -04:00
img Added img kubernetes-logo.png 2018-04-16 17:29:55 +03:00
_sidebar.md added missing sidebar link to Packet doc (#4513) 2019-04-18 02:22:10 -07:00
ansible.md Remove rkt support (#4671) 2019-04-29 01:14:20 -07:00
arch.md Add documentation about CPU arch compatibility (#4302) 2019-04-20 06:27:40 -07:00
atomic.md Fix issues #2246 (#2403) 2018-03-07 14:39:03 +03:00
aws.md Update all kubernetes-incubator/kubespray refs to kubernetes-sigs/kubespray (#3780) 2018-11-28 09:15:25 +01:00
azure.md support azure loadbalancer standard sku (#4150) (#4476) 2019-04-24 02:14:01 -07:00
calico.md Calico: Ability to define the default IPPool CIDR (instead of kube_pods_subnet) (#4131) 2019-01-31 13:39:13 -08:00
cloud.md remove references to deprecated kubespray cli 2018-02-05 10:00:21 -05:00
cni.md Added generic CNI network plugin (#4322) 2019-04-10 04:16:15 -07:00
comparisons.md clarify that kubespray now supports kubeadm (fixes #4089) (#4366) 2019-03-26 03:51:19 -07:00
contiv.md contiv 1.2.1 2018-09-17 16:45:05 +02:00
coreos.md Automatically infer bootstrap_os (#3498) 2018-10-10 23:32:10 -07:00
cri-o.md Updated cri-o documentation (#3878) 2018-12-25 22:55:17 -08:00
debian.md Typo in apt-get command 2017-11-02 11:40:08 +01:00
dns-stack.md Minor cleanups of CoreDNS issues and CI job (#4719) 2019-05-07 13:20:36 -07:00
downloads.md Added file and container image caching (#4828) 2019-06-10 11:21:07 -07:00
flannel.md Initial version of Flannel using CNI (#1486) 2017-08-25 10:07:50 +03:00
getting-started.md Update docs for inventory_builder (#4581) 2019-04-20 11:09:45 -07:00
ha-mode.md Add HAProxy as internal loadbalancer (#4480) 2019-04-10 05:56:18 -07:00
integration.md Update all kubernetes-incubator/kubespray refs to kubernetes-sigs/kubespray (#3780) 2018-11-28 09:15:25 +01:00
kube-router.md Remove non-kubeadm deployment (#3811) 2018-12-06 02:33:38 -08:00
kubernetes-reliability.md Remove the redundant space (#3418) 2018-09-29 20:31:57 -07:00
large-deployments.md Remove kubedns and dnsmasq. Move dns_late phase after apps (#4406) 2019-04-01 12:32:34 -07:00
multus.md Adds support for Multus (multiple interfaces) CNI plugin (#3166) 2018-11-04 01:07:38 -08:00
netcheck.md Cleanup defaults file from kubernetes-apps and add dashboard to download role (#3800) 2018-12-03 10:29:42 -08:00
openstack.md [jjo] add kube-router support (#3339) 2018-10-16 07:15:05 -07:00
opensuse.md openSUSE: Use Leap 15.0 instead of 42.3 (#4442) 2019-04-09 00:17:05 -07:00
packet.md Corrected cloud name (#4316) 2019-03-29 00:28:13 -07:00
proxy.md Add additional no proxy parameter for more customization 2018-09-03 17:09:58 +03:00
recover-control-plane.md Documentation and playbook for recovering control plane from node failure (#4146) 2019-04-29 01:40:20 -07:00
roadmap.md Update roadmap (#4811) 2019-05-28 02:05:54 -07:00
test_cases.md Cleanup references to Travis CI (#4208) 2019-04-20 06:17:40 -07:00
upgrades.md Instead of doc update, change the verify step 2018-09-18 22:13:15 +02:00
vagrant.md change vagrant version 2018-03-26 18:02:14 +02:00
vars.md var node_labels as string (#4764) 2019-05-19 12:31:10 -07:00
vsphere.md Add labels to vsphere cloud config (#4275) 2019-02-25 19:58:15 -08:00
weave.md Fix some typos 2018-09-19 18:22:08 +08:00