Skip to content
  1. Feb 13, 2019
    • Florent Monbillard's avatar
      Explicitely set etcd endpoint in kubeadm-images.yaml (#4063) · 061f5a31
      Florent Monbillard authored
      Currently, the task `container_download | download images for kubeadm config images` fetches etcd image even though it's not required (etcd is bootstrapped by kubespray, not kubeadm).
      
      `kubeadm-images.yaml` is only a subset of `kubeadm-config.yaml`, therefore ``kubeadm config images pull` will try to get all this list (including etcd)
      
      ```
      # kubeadm config images list --config /etc/kubernetes/kubeadm-images.yaml
      k8s.gcr.io/kube-apiserver:v1.13.2
      k8s.gcr.io/kube-controller-manager:v1.13.2
      k8s.gcr.io/kube-scheduler:v1.13.2
      k8s.gcr.io/kube-proxy:v1.13.2
      k8s.gcr.io/pause:3.1
      k8s.gcr.io/etcd:3.2.24
      k8s.gcr.io/coredns:1.2.6
      ```
      
      When using the `kubeadm-config.yaml` though, it doesn't list etcd image:
      
      ```
      # kubeadm config images list --config /etc/kubernetes/kubeadm-config.yaml
      k8s.gcr.io/kube-apiserver:v1.13.2
      k8s.gcr.io/kube-controller-manager:v1.13.2
      k8s.gcr.io/kube-scheduler:v1.13.2
      k8s.gcr.io/kube-proxy:v1.13.2
      k8s.gcr.io/pause:3.1
      k8s.gcr.io/coredns:1.2.6
      ```
      
      This change just adds the etcd endpoints in the `kubeadm-images.yaml` to give a hint to kubeadm it doesn't need etcd image for its boostrapping as etcd is "external".
      I confess it is a ugly hack, a better way would be to use a single `kubeadm-config.yaml` for both tasks, but they are triggered by different roles (`kubeadm-images.yaml` is used by download, `kubeadm-config.yaml` by kubernetes/master) at different steps and I didn't want to refactor too many things to prevent breakage. 
      
      This is specially useful for offline installation where a whitelist of container images is mirrored on a local private container registry. `k8s.gcr.io/etcd` and `quay.io/coreos/etcd`  are two different repositories hosting the same images but using *different tags*! 
      * coreos/etcd:v3.2.24   
      * k8s.gcr.io/etcd:3.2.24 (note the missing 'v' in the tag name)
      061f5a31
  2. Feb 09, 2019
  3. Feb 07, 2019
  4. Feb 06, 2019
  5. Jan 28, 2019
  6. Jan 18, 2019
  7. Jan 16, 2019
  8. Jan 11, 2019
  9. Jan 09, 2019
  10. Jan 08, 2019
  11. Jan 04, 2019
  12. Dec 28, 2018
    • Rong Zhang's avatar
      Add scale master features (#3946) · 5834e609
      Rong Zhang authored
      * Add scale master features
      
      * Add certificate management with kubeadm
      
      * Add kubeadm kubeconfig
      
      * Fix ymalroles error
      
      * fix upgrade cluster fialed
      
      * force update cert and keys when you reconfigure cluster
      5834e609
  13. Dec 23, 2018
  14. Dec 22, 2018
  15. Dec 19, 2018
  16. Dec 18, 2018
  17. Dec 11, 2018
  18. Dec 07, 2018
  19. Dec 06, 2018
    • Rong Zhang's avatar
      Upgrade kubernetes to v1.13.0 (#3810) · 225f765b
      Rong Zhang authored
      * Upgrade kubernetes to v1.13.0
      
      * Remove all precense of scheduler.alpha.kubernetes.io/critical-pod in templates
      
      * Fix cert dir
      
      * Use kubespray v2.8 as baseline for gitlab
      225f765b
    • 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
  20. Dec 03, 2018
  21. Nov 30, 2018
  22. Nov 27, 2018
  23. Nov 26, 2018
    • Miao Zhou's avatar
      Fix Sync Container Permission (#3752) · a585318b
      Miao Zhou authored
      When `ansible_user` is not root, using `-b` option.
      And with `download_run_once` and `download_localhost` set `true`.
      
      Ansible will executes `container_download | upload container images to nodes` task.
      
      It uses rsync to upload images to `/tmp/release/container/`, but the
      `container` directory owned by `root`.
      a585318b
  24. Nov 23, 2018
    • okamototk's avatar
      Support Metrics Server as addon (#3560). (#3563) · c5e425b0
      okamototk authored
      * Support Metrics Server as addon (#3560).
      
      * Update metrics server v0.3.1.
      
      * Add metrics server test.
      
      * Replace metrics server manifests with kubernetes/cluster/addons's.
      
      * Modify metrics server manifests for kubespray.
      
      * Follow PR#3558 node label node-role.kubernetes.io/master change
      
      * Fix metrics server parameters base_metrics_server_... to metrics_server_...
      
      * Fix too hard corded metrics_server_memory_per_node
      
      * Add configurable insecure tls for metrics-apiservice
      
      * Downloadable addon-resizer and extract parameter as variables
      
      * Remove metrics server version from deployment name
      
      * Metrics Server work when all masters has node role
      
      * Download metrics-server and add-resizer container only on master
      
      * ServiceAccount and ConfigMap is separated and fix application name
      
      * Remove old metrics server clusterrole template
      
      * Fix addon-resizer image specify
      
      * Make InternalIP default for metrics_server_kubelet_preferred_address_types
      
      Make InternalIP default because multiple preferrred address types does not work.
      c5e425b0
  25. Nov 20, 2018
  26. Nov 15, 2018
  27. Nov 14, 2018
  28. Nov 13, 2018
  29. Nov 10, 2018
  30. Nov 06, 2018
Loading