Skip to content
  1. Jul 10, 2019
  2. Jul 08, 2019
  3. Jun 28, 2019
    • Simon Lelievre's avatar
      add macvlan cni to kubespray (#4901) · f599c2a6
      Simon Lelievre authored
      * add macvlan cni to kubespray
      
      * macvlan: lint yaml files and fix sample config file
      
      * macvlan: add OWNERS file
      
      * add macvlan to README
      
      * macvlan : CI first shoot
      
      * macvlan : CI add full masquerade
      
      * delegate retrive pod cidr to master only
      
      * macvlan: add config for CI
      
      * macvlan: add netchecker deployment
      f599c2a6
  4. Jun 11, 2019
  5. Jun 10, 2019
    • Johnny Halfmoon's avatar
      Added file and container image caching (#4828) · 23c9071c
      Johnny Halfmoon authored
      * 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 d6fd0d2a 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.
      23c9071c
  6. May 28, 2019
  7. May 19, 2019
  8. May 07, 2019
  9. May 01, 2019
    • Timoses's avatar
      Enable delegating all downloads (binaries, images, kubeadm images) (#4420) · d6fd0d2a
      Timoses authored
      * Download to delegate and sync files when download_run_once
      
      * Fail on error after saving container image
      
      * Do not set changed status when downloaded container was up to date
      
      * Only sync containers when they are actually required
      
      Previously, non-required images (pull_required=false as
      image existed on target host) were synced to the target
      hosts. This failed as the image was not downloaded to
      the download_delegate and hence was not available for
      syncing.
      
      * Sync containers when only missing on some hosts
      
      * Consider images with multiple repo tags
      
      * Enable kubeadm images pull/syncing with download_delegate
      
      * Use kubeadm images list to pull/sync
      
      'kubeadm config images pull' is replaced by collecting the images
      list with 'kubeadm config images list' and using the commonly
      used method of pull/syncing the images.
      
      * Ensure containers are downloaded and synced for all hosts
      
      * Fix download/syncing when download_delegate is a kubernetes host
      d6fd0d2a
  10. Apr 29, 2019
  11. Apr 24, 2019
    • Vincent Gramer's avatar
      support azure loadbalancer standard sku (#4150) (#4476) · f47a6662
      Vincent Gramer authored
      add the support of the folling property in azure-credential-check.yml
        - azure_loadbalancer_sku: Sku of Load Balancer and Public IP. Candidate values are: basic and standard.
        - azure_exclude_master_from_standard_lb: excludes master nodes from standard load balancer.
        - azure_disable_outbound_snat: disables the outbound SNAT for public load balancer rules
        - useInstanceMetadata: Use instance metadata service where possible
        - azure_primary_availability_set: (Optional) The name of the availability set that should be used as the load balancer backend
      f47a6662
  12. Apr 23, 2019
    • Justin Chao's avatar
      Update ansible.md (#4599) · 64f48bf8
      Justin Chao authored
      Ansible 2.0 has deprecated the “ssh” from ansible_ssh_host.
      
      Updating the docs to be more aligned with the Ansible version used in the sample/inventory.ini file as well.
      Also adding `[bastion]` group in the docs to avoid confusion.
      64f48bf8
  13. Apr 20, 2019
  14. Apr 18, 2019
  15. Apr 10, 2019
  16. Apr 09, 2019
    • Markos Chandras's avatar
      openSUSE: Use Leap 15.0 instead of 42.3 (#4442) · 12c6b5c3
      Markos Chandras authored
      * Vagrantfile: Bump openSUSE to Leap 15.0
      
      * roles: container-engine: Add 'containerd' package for openSUSE
      
      The 'containerd' package contains the docker-containerd and
      docker-containerd-shim binaries. We also need to ensure that the latest
      version is installed since an older version may already be present (eg GCE
      images)
      
      * Remove docker log-opts for opensuse
      
      * roles: bootstrap-os: Use lowercase 'o' for openSUSE
      
      OpenSUSE is not a valid family name. The correct one is openSUSE
      
      * roles: bootstrap-os: Update zypper cache before first installation
      
      The zypper cache may be outdated so ensure that it's fully updated
      before we try and install the bootstrap packages.
      12c6b5c3
  17. Apr 03, 2019
  18. Apr 01, 2019
    • Matthew Mosesohn's avatar
      Remove kubedns and dnsmasq. Move dns_late phase after apps (#4406) · 5f12b7ae
      Matthew Mosesohn authored
      Both kubedns and dnsmasq modes are long not maintained.
      We should run dns_late steps at the end because sshd
      makes DNS lookups during Ansible run and has 2s timeouts
      for each failed lookup trying to connect to coredns before
      it is ready.
      5f12b7ae
    • MarkusTeufelberger's avatar
      Yamllint fixes (#4410) · 9ffc65f8
      MarkusTeufelberger authored
      * Lint everything in the repository with yamllint
      
      * yamllint fixes: syntax fixes only
      
      * yamllint fixes: move comments to play names
      
      * yamllint fixes: indent comments in .gitlab-ci.yml file
      9ffc65f8
  19. Mar 29, 2019
  20. Mar 26, 2019
  21. Feb 26, 2019
  22. Feb 07, 2019
  23. Feb 01, 2019
  24. Jan 08, 2019
    • Julien C's avatar
      Remove --limit option to select node to delete (#4001) · 2c8d75af
      Julien C authored
      --limit doesn't work when using remove-node.yml as there is group listing with "hosts: kube-master" in the playbook. Thus, remove-node/pre-remove/post-remove tasks are skipped as they are filtered by group "hosts: kube-master"
      2c8d75af
  25. Dec 27, 2018
    • Earl C. Ruby III's avatar
      Documented docker_version acceptable values (#3901) · 3ce03399
      Earl C. Ruby III authored
      Added a line documenting where to find acceptable values for the
      `docker_version` setting. If you use a value that is not used as
      a key value by `docker_versioned_pkg` the container-engine/docker
      playbook will throw a "Unexpected templating type error". (e.g.
      If you use '18.06.1' or '18.06.1-ce', neither of which is used
      as a key value of `docker_versioned_pkg`, rather than '18.06',
      you'll get an error when installing on Ubuntu 18.04.)
      3ce03399
  26. Dec 26, 2018
  27. Dec 25, 2018
  28. Dec 12, 2018
  29. Dec 11, 2018
  30. Dec 06, 2018
    • Andreas Krüger's avatar
      Remove non-kubeadm deployment (#3811) · ddffdb63
      Andreas Krüger authored
      * Remove non-kubeadm deployment
      
      * More cleanup
      
      * More cleanup
      
      * More cleanup
      
      * More cleanup
      
      * Fix gitlab
      
      * Try stop gce first before absent to make the delete process work
      
      * More cleanup
      
      * Fix bug with checking if kubeadm has already run
      
      * Fix bug with checking if kubeadm has already run
      
      * More fixes
      
      * Fix test
      
      * fix
      
      * Fix gitlab checkout untill kubespray 2.8 is on quay
      
      * Fixed
      
      * Add upgrade path from non-kubeadm to kubeadm. Revert ssl path
      
      * Readd secret checking
      
      * Do gitlab checks from v2.7.0 test upgrade path to 2.8.0
      
      * fix typo
      
      * Fix CI jobs to kubeadm again. Fix broken hyperkube path
      
      * Fix gitlab
      
      * Fix rotate tokens
      
      * More fixes
      
      * More fixes
      
      * Fix tokens
      ddffdb63
  31. Dec 03, 2018
  32. Nov 28, 2018
Loading