Skip to content
  1. Apr 10, 2019
  2. Apr 09, 2019
  3. Apr 08, 2019
  4. Apr 03, 2019
  5. Apr 01, 2019
  6. Mar 28, 2019
  7. Mar 05, 2019
  8. Feb 26, 2019
  9. Feb 25, 2019
  10. Feb 21, 2019
    • Frank Ritchie's avatar
      Add flexvolume plugin dir to kubeadm kubelet (#4168) · 9805fb7a
      Frank Ritchie authored
      This was already approved in #4106 but there are CI issues
      with that PR due to references to kubernetes incubator.
      
      After upgrading to Kubespray 2.8.1 with Kubeadm enabled Rook
      Ceph volume provision failed due to the flexvolume plugin dir not
      being correct. Adding the var fixed the issue
      9805fb7a
  11. Jan 29, 2019
    • Thomas Nys's avatar
      Set cluster DNS correctly in case of nodelocal dns cache (#3879) · 68fd7e39
      Thomas Nys authored
      * Set cluster DNS correctly in case of nodelocal dns cache
      
      * Pass in cluster_ip based on dns mode
      
      * Disable nodelocaldns by default
      
      * Fix syntax error
      
      * Fix syntax issue
      
      * Add nodelocadns ip to vars of node installation
      
      * Change location of nodelocaldns_ip
      
      * Try to remove newlines from jinja template
      
      * Add debug for config file
      
      * Move parameter logic outside of template
      
      * Adapt templates after feedback
      
      * Remove debugging
      68fd7e39
  12. Jan 28, 2019
    • Florent Monbillard's avatar
      Run kubeadm and hyperkube outside of local_release_dir (#4098) · 2054a98c
      Florent Monbillard authored
      Addressing the discussion started in #4064, this PR moves kubeadm and
      hyperkube binaries to /usr/local/bin before running them on the master
      nodes.
      
      It is to address the case where local_release_dir points to /tmp
      (kubespray default) and /tmp is mounted with noexec mode, preventing
      any binaries to be run in that partition.
      
      In role "node", we still move kubeadm to bin_dir only on the worker
      nodes.
      2054a98c
  13. Jan 03, 2019
    • Chad Swenson's avatar
      Fix kube-proxy configuration for kubeadm (#3958) · 80379f6c
      Chad Swenson authored
      - Creates and defaults an ansible variable for every configuration option in the `kubeproxy.config.k8s.io/v1alpha1` type spec
        - Fixes vars that were orphaned by removing non-kubeadm
        - Fixes previously harcoded kubeadm values
      - Introduces a `main` directory for role default files per component (requires ansible 2.6.0+)
        - Split out just `kube-proxy.yml` in this first effort
      - Removes the kube-proxy server field patch task
      
      We should continue to pull out other components from `main.yml` into their own defaults files as I did here for `defaults/main/kube-proxy.yml`. I hope for and will need others to join me in this refactoring across the project until each component config template has a matching role defaults file, with shared defaults in `kubespray-defaults` or `downloads`
      80379f6c
  14. Dec 25, 2018
  15. Dec 18, 2018
  16. Dec 12, 2018
  17. Dec 07, 2018
  18. 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
  19. Nov 28, 2018
  20. Nov 27, 2018
  21. Nov 23, 2018
    • Miao Zhou's avatar
      Fix AWS Node Labels Error · 885c6cff
      Miao Zhou authored
      Now the `kubespray-aws-inventory.py` script always set a node_labels key
      to ansible_host.
      
      When AWS instance did not set property labels, it would be an empty
      string.
      
      The TASK `Write kubelet config file (kubeadm or non-kubeadm)` will
      failed with a msg:
      
      `AnsibleUndefinedVariable: 'unicode object' has no attribute 'items'`.
      885c6cff
  22. Nov 19, 2018
  23. Nov 15, 2018
  24. Nov 13, 2018
  25. Nov 10, 2018
  26. Oct 20, 2018
  27. Oct 17, 2018
  28. Oct 16, 2018
    • JuanJo Ciarlante's avatar
      [jjo] add kube-router support (#3339) · a5edd0d7
      JuanJo Ciarlante authored
      * [jjo] add kube-router support
      
      Fixes cloudnativelabs/kube-router#147.
      
      * add kube-router as another network_plugin choice
      * support most used kube-router flags via
        `kube_router_foo` vars as other plugins
      * implement replacing kube-proxy (--run-service-proxy=true) via
        `kube_proxy_mode: none`, verified in a _non kubeadm_enabled_
        install, should also work for recent kubeadm releases via
        `skipKubeProxyInstall: true` config
      
      * [jjo] address PR#3339 review from @woopstar
      
      * add busybox image used by kube-router to downloads
      
      * fix busybox download groups key
      
      * rework kubeadm_enabled + kube_router_run_service_proxy
      
      - verify it working ok w/the kubeadm_enabled and
        kube_router_run_service_proxy true or false
      
      - introduce `kube_proxy_remove` fact, to decouple logic
        from kube_proxy_mode (which affects kubeadm configmap
        settings, thus no-good to ab-use it to 'none')
      
      * improve kube-router.md re: kubeadm_enabled and kube_router_run_service_proxy
      
      * address @woopstar latest review
      
      * add inventory/sample/group_vars/k8s-cluster/k8s-net-kube-router.yml
      
      * fix kube_router_run_service_proxy conditional for kube-proxy removal
      
      * fix kube_proxy_remove fact (w/ |bool), add some needed kube-proxy tags on my and existing changes
      
      * update kube-router tolerations for 1.12 compatibility
      
      * add PriorityClass to kube-router DaemonSet
      a5edd0d7
  29. Oct 12, 2018
  30. Oct 11, 2018
  31. Oct 05, 2018
    • Chad Swenson's avatar
      Support multiple local volume provisioner StorageClasses (#3450) · 6602760a
      Chad Swenson authored
      - Local Volume StorageClass configuration is now manged by `local_volume_provisioner_storage_classes`, a list of maps that specifies local storage classes with `name` `host_dir` and `mount_dir` keys per entry
      - Tasks and templates updated to loop through local volume storage classes
      - Previous defaults for path/class names were not changed
      - Fixed an issue where a `kubernetes/preinstall` was creating directories inconsistently with the `kubernetes-apps/external_provisioner/local_volume_provisioner` task
      6602760a
  32. Oct 04, 2018
  33. Sep 30, 2018
    • rboyapat's avatar
      Fix the dic iteration method in the kubelet template (#3415) · d9f495d3
      rboyapat authored
      * Fix the jinja expression for openstack_tenant_id
      
      OS_PROJECT_ID is obsolete in keystone v3 and jinja expression
      doesn't set openstack_tenant_id as expected because of
      undefined env var. Fixed the expression.
      
      * Fix the dic iteration method in the kubelet template
      
      Kubelet template rendering errors when additional Node lables are
      added and using Python3. Update the method to be compatible to both
      python2/3
      
      Node lables doesn't work
      d9f495d3
  34. Sep 28, 2018
  35. Sep 25, 2018
    • Kuldip Madnani's avatar
      Adding pod priority for all the components. (#3361) · 36898a2c
      Kuldip Madnani authored
      * Changes to assign pod priority to kube components.
      
      * Removed the boolean flag pod_priority_assignment
      
      * Created new priorityclass k8s-cluster-critical
      
      * Created new priorityclass k8s-cluster-critical
      
      * Fixed the trailing spaces
      
      * Fixed the trailing spaces
      
      * Added kube version check while creating Priority Class k8s-cluster-critical
      
      * Moved k8s-cluster-critical.yml
      
      * Moved k8s-cluster-critical.yml to kube_config_dir
      36898a2c
  36. Sep 20, 2018
Loading