Skip to content
  1. Mar 29, 2018
  2. Mar 17, 2018
  3. Feb 28, 2018
  4. Feb 05, 2018
  5. Jan 30, 2018
  6. Jan 29, 2018
  7. Jan 10, 2018
  8. Jan 04, 2018
  9. Dec 22, 2017
  10. Dec 18, 2017
  11. Dec 13, 2017
  12. Dec 05, 2017
    • Chad Swenson's avatar
      Support for disabling apiserver insecure port · b8788421
      Chad Swenson authored
      This allows `kube_apiserver_insecure_port` to be set to 0 (disabled).
      
      Rework of #1937 with kubeadm support
      
      Also, fixed an issue in `kubeadm-migrate-certs` where the old apiserver cert was copied as the kubeadm key
      b8788421
  13. Nov 15, 2017
  14. Nov 14, 2017
  15. Nov 07, 2017
    • Chad Swenson's avatar
      Support for disabling apiserver insecure port · 0c7e1889
      Chad Swenson authored
      This allows `kube_apiserver_insecure_port` to be set to 0 (disabled). It's working, but so far I have had to:
      
      1. Make the `uri` module "Wait for apiserver up" checks use `kube_apiserver_port` (HTTPS)
      2. Add apiserver client cert/key to the "Wait for apiserver up" checks
      3. Update apiserver liveness probe to use HTTPS ports
      4. Set `kube_api_anonymous_auth` to true to allow liveness probe to hit apiserver's /healthz over HTTPS (livenessProbes can't use client cert/key unfortunately)
      5. RBAC has to be enabled. Anonymous requests are in the `system:unauthenticated` group which is granted access to /healthz by one of RBAC's default ClusterRoleBindings. An equivalent ABAC rule could allow this as well.
      
      Changes 1 and 2 should work for everyone, but 3, 4, and 5 require new coupling of currently independent configuration settings. So I also added a new settings check.
      
      Options:
      
      1. The problem goes away if you have both anonymous-auth and RBAC enabled. This is how kubeadm does it. This may be the best way to go since RBAC is already on by default but anonymous auth is not.
      2. Include conditional templates to set a different liveness probe for possible combinations of `kube_apiserver_insecure_port = 0`, RBAC, and `kube_api_anonymous_auth` (won't be possible to cover every case without a guaranteed authorizer for the secure port)
      3. Use basic auth headers for the liveness probe (I really don't like this, it adds a new dependency on basic auth which I'd also like to leave independently configurable, and it requires encoded passwords in the apiserver manifest)
      
      Option 1 seems like the clear winner to me, but is there a reason we wouldn't want anonymous-auth on by default? The apiserver binary defaults anonymous-auth to true, but kubespray's default was false.
      0c7e1889
  16. Oct 30, 2017
  17. Oct 26, 2017
  18. Oct 24, 2017
  19. Oct 23, 2017
    • pmontanari's avatar
      Update main.yml · 8371a060
      pmontanari authored
      Match kubedns_version with roles/download/defaults/main.yml:kubedns_version: 1.14.5
      8371a060
  20. Oct 18, 2017
  21. Oct 17, 2017
  22. Oct 05, 2017
  23. Sep 26, 2017
    • Matthew Mosesohn's avatar
      Upgrade to kubeadm (#1667) · bd272e0b
      Matthew Mosesohn authored
      * Enable upgrade to kubeadm
      
      * fix kubedns upgrade
      
      * try upgrade route
      
      * use init/upgrade strategy for kubeadm and ignore kubedns svc
      
      * Use bin_dir for kubeadm
      
      * delete more secrets
      
      * fix waiting for terminating pods
      
      * Manually enforce kube-proxy for kubeadm deploy
      
      * remove proxy. update to kubeadm 1.8.0rc1
      bd272e0b
  24. Sep 15, 2017
  25. Sep 13, 2017
    • Matthew Mosesohn's avatar
      kubeadm support (#1631) · 67447260
      Matthew Mosesohn authored
      * kubeadm support
      
      * move k8s master to a subtask
      * disable k8s secrets when using kubeadm
      * fix etcd cert serial var
      * move simple auth users to master role
      * make a kubeadm-specific env file for kubelet
      * add non-ha CI job
      
      * change ci boolean vars to json format
      
      * fixup
      
      * Update create-gce.yml
      
      * Update create-gce.yml
      
      * Update create-gce.yml
      67447260
  26. Sep 10, 2017
  27. Sep 05, 2017
    • Matthew Mosesohn's avatar
      Fix non-rbac deployment of resources as a list (#1613) · d279d145
      Matthew Mosesohn authored
      * Use kubectl apply instead of create/replace
      
      Disable checks for existing resources to speed up execution.
      
      * Fix non-rbac deployment of resources as a list
      
      * Fix autoscaler tolerations field
      
      * set all kube resources to state=latest
      
      * Update netchecker and weave
      d279d145
  28. Sep 04, 2017
  29. Aug 24, 2017
  30. Aug 18, 2017
    • Matthew Mosesohn's avatar
      Fix cert and netchecker upgrade issues (#1543) · df28db00
      Matthew Mosesohn authored
      * Bump tag for upgrade CI, fix netchecker upgrade
      
      netchecker-server was changed from pod to deployment, so
      we need an upgrade hook for it.
      
      CI now uses v2.1.1 as a basis for upgrade.
      
      * Fix upgrades for certs from non-rbac to rbac
      df28db00
  31. Aug 14, 2017
  32. Jul 17, 2017
Loading