You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
825 B

  1. Large deployments of K8s
  2. ========================
  3. For a large scaled deployments, consider the following configuration changes:
  4. * Tune [ansible settings](http://docs.ansible.com/ansible/intro_configuration.html)
  5. for `forks` and `timeout` vars to fit large numbers of nodes being deployed.
  6. * Override containers' `foo_image_repo` vars to point to intranet registry.
  7. * Override the ``download_run_once: true`` to download binaries and container
  8. images only once then push to nodes in batches.
  9. * Adjust the `retry_stagger` global var as appropriate. It should provide sane
  10. load on a delegate (the first K8s master node) then retrying failed
  11. push or download operations.
  12. For example, when deploying 200 nodes, you may want to run ansible with
  13. ``--forks=50``, ``--timeout=600`` and define the ``retry_stagger: 60``.