Skip to content
Snippets Groups Projects
  1. Oct 10, 2018
  2. Aug 31, 2018
  3. Jun 05, 2018
    • Di Xu's avatar
      add support for non-amd64 arch gcr.io images · 1081f620
      Di Xu authored
      Currently all the gcr.io images used in kubespray can only run on x86.
      Also gcr.io has not fully support multi-arch docker images.
      
      Add extra var "image_arch" (default is amd64) to support running other
      platforms, like arm64.
      
      Change-Id: I8e1c9af533c021cb96ade291a1ce58773b40e271
      1081f620
  4. Aug 24, 2017
    • Brad Beam's avatar
      Adding yamllinter to ci steps (#1556) · 8b151d12
      Brad Beam authored
      * Adding yaml linter to ci check
      
      * Minor linting fixes from yamllint
      
      * Changing CI to install python pkgs from requirements.txt
      
      - adding in a secondary requirements.txt for tests
      - moving yamllint to tests requirements
      8b151d12
  5. Jul 06, 2017
  6. Mar 27, 2017
  7. Mar 02, 2017
    • Matthew Mosesohn's avatar
      Add autoscalers for dnsmasq and kubedns · 9cb12cf2
      Matthew Mosesohn authored
      By default kubedns and dnsmasq scale when installed.
      Dnsmasq is no longer a daemonset. It is now a deployment.
      Kubedns is no longer a replicationcluster. It is now a deployment.
      Minimum replicas is two (to enable rolling updates).
      
      Reduced memory erquirements for dnsmasq and kubedns
      9cb12cf2
  8. Feb 06, 2017
  9. Jan 20, 2017
    • Bogdan Dobrelya's avatar
      Drop linux capabilities and rework users/groups · cb2e5ac7
      Bogdan Dobrelya authored
      
      * Drop linux capabilities for unprivileged containerized
        worlkoads Kargo configures for deployments.
      * Configure required securityContext/user/group/groups for kube
        components' static manifests, etcd, calico-rr and k8s apps,
        like dnsmasq daemonset.
      * Rework cloud-init (etcd) users creation for CoreOS.
      * Fix nologin paths, adjust defaults for addusers role and ensure
        supplementary groups membership added for users.
      * Add netplug user for network plugins (yet unused by privileged
        networking containers though).
      * Grant the kube and netplug users read access for etcd certs via
        the etcd certs group.
      * Grant group read access to kube certs via the kube cert group.
      * Remove priveleged mode for calico-rr and run it under its uid/gid
        and supplementary etcd_cert group.
      * Adjust docs.
      * Align cpu/memory limits and dropped caps with added rkt support
        for control plane.
      
      Signed-off-by: default avatarBogdan Dobrelya <bogdando@mail.ru>
      cb2e5ac7
  10. Jan 19, 2017
    • Sergii Golovatiuk's avatar
      Allow to specify number of concurrent DNS queries · 61d05dea
      Sergii Golovatiuk authored
      
      ndots creates overhead as every pod creates 5 concurrent connections
      that are forwarded to sky dns. Under some circumstances dnsmasq may
      prevent forwarding traffic with "Maximum number of concurrent DNS
      queries reached" in the logs.
      
      This patch allows to configure the number of concurrent forwarded DNS
      queries "dns-forward-max" as well as "cache-size" leaving the default
      values as they were before.
      
      Signed-off-by: default avatarSergii Golovatiuk <sgolovatiuk@mirantis.com>
      61d05dea
  11. Jan 06, 2017
  12. Dec 09, 2016
    • Bogdan Dobrelya's avatar
      Preconfigure DNS stack and docker early · a15d6267
      Bogdan Dobrelya authored
      
      In order to enable offline/intranet installation cases:
      * Move DNS/resolvconf configuration to preinstall role. Remove
        skip_dnsmasq_k8s var as not needed anymore.
      
      * Preconfigure DNS stack early, which may be the case when downloading
        artifacts from intranet repositories. Do not configure
        K8s DNS resolvers for hosts /etc/resolv.conf yet early (as they may be
        not existing).
      
      * Reconfigure K8s DNS resolvers for hosts only after kubedns/dnsmasq
        was set up and before K8s apps to be created.
      
      * Move docker install task to early stage as well and unbind it from the
        etcd role's specific install path. Fix external flannel dependency on
        docker role handlers. Also fix the docker restart handlers' steps
        ordering to match the expected sequence (the socket then the service).
      
      * Add default resolver fact, which is
        the cloud provider specific and remove hardcoded GCE resolver.
      
      * Reduce default ndots for hosts /etc/resolv.conf to 2. Multiple search
        domains combined with high ndots values lead to poor performance of
        DNS stack and make ansible workers to fail very often with the
        "Timeout (12s) waiting for privilege escalation prompt:" error.
      
      * Update docs.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      a15d6267
  13. Nov 25, 2016
    • Bogdan Dobrelya's avatar
      Tune dnsmasq/kubedns limits, replicas, logging · 2d18e192
      Bogdan Dobrelya authored
      
      * Add dns_replicas, dns_memory/cpu_limit/requests vars for
      dns related apps.
      * When kube_log_level=4, log dnsmasq queries as well.
      * Add log level control for skydns (part of kubedns app).
      * Add limits/requests vars for dnsmasq (part of kubedns app) and
        dnsmasq daemon set.
      * Drop string defaults for kube_log_level as it is int and
        is defined in the global vars as well.
      * Add docs
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      2d18e192
  14. Nov 23, 2016
  15. Nov 07, 2016
    • Matthew Mosesohn's avatar
      adds ability to have hosts with no floating ips on terraform/openstack (+8 squashed commits) · f106bf5b
      Matthew Mosesohn authored
      Squashed commits:
      [f9355ea1] Swap order in which we reload docker/socket
      [2ca6819c] Reload docker.socket after installing flannel on coreos
      
      Workaround for #569
      [9f976e56] Vagrantfile: setup proxy inside virtual machines
      
      In corporate networks, it is good to pre-configure proxy variables.
      [9d7142f4] Vagrantfile: use Ubuntu 16.04 LTS
      
      Use recent supported version of Ubuntu for local development setup
      with Vagrant.
      [50f77cca] Add CI test layouts
      
      * Drop Wily from test matrix
      * Replace the Wily cases dropped with extra cases to test separate
        roles deployment
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      [03e162b3] Update OWNERS
      [c7b00cae] Use tar+register instead of copy/slurp for distributing tokens and certs
      
      Related bug: https://github.com/ansible/ansible/issues/15405
      
      Uses tar and register because synchronize module cannot sudo on the
      remote side correctly and copy is too slow.
      
      This patch dramatically cuts down the number of tasks to process
      for cert synchronization.
      [2778ac61] Add new var skip_dnsmasq_k8s
      
      If skip_dnsmasq is set, it will still not set up dnsmasq
      k8s pod. This enables independent setup of resolvconf section
      before kubelet is up.
      f106bf5b
  16. Oct 26, 2016
    • Matthew Mosesohn's avatar
      Add new var skip_dnsmasq_k8s · 2778ac61
      Matthew Mosesohn authored
      If skip_dnsmasq is set, it will still not set up dnsmasq
      k8s pod. This enables independent setup of resolvconf section
      before kubelet is up.
      2778ac61
  17. Oct 15, 2016
  18. Aug 24, 2016
  19. Aug 22, 2016
Loading