Skip to content
  1. Dec 13, 2016
  2. Dec 12, 2016
  3. 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
    • Bogdan Dobrelya's avatar
      Add tags · 8cc84e13
      Bogdan Dobrelya authored
      
      
      Add tags to allow more granular tasks filtering.
      Add generator script for MD formatted tags found.
      Add docs for tags how-to.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      8cc84e13
  4. Dec 07, 2016
    • Dan Bode's avatar
      Allow etcd_access_addresses to be more flexible · eec2ed58
      Dan Bode authored
      The variale etcd_access_addresses is used to determine
      how to address communication from other roles to
      the etcd cluster.
      
      It was set to the address that ansible uses to
      connect to instance ({{ item }})s and not the
      the variable:
        ip_access
      which had already been created and could already
      be overridden through the access_ip variable.
      
      This change allows ansible to connect to a machine using
      a different address than the one used to access etcd.
      eec2ed58
    • Bogdan Dobrelya's avatar
      Change GCE sysctls placement and docs · f0f2b812
      Bogdan Dobrelya authored
      
      
      Override GCE sysctl in /etc/sysctl.d/99-sysctl.conf instead of
      the /etc/sysctl.d/11-gce-network-security.conf. It is recreated
      by GCE, f.e. if gcloud CLI invokes some security related changes,
      thus losing customizations we want to be persistent.
      
      Update cloud providers firewall requirements in calico docs.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      f0f2b812
    • fen4o's avatar
      add cluster-signing to kube-controller-manager · 246c8209
      fen4o authored
      kube-controller-manager's cluster signing cert and key points by default to not
      existing `/etc/kubernetes/ca/ca.pem` and `/etc/kubernetes/ca/ca.key` [docs][1]
      
      [1]: http://kubernetes.io/docs/admin/kube-controller-manager/#options
      246c8209
  5. Dec 06, 2016
  6. Dec 05, 2016
  7. Dec 03, 2016
  8. Dec 02, 2016
  9. Nov 29, 2016
  10. Nov 28, 2016
    • Yuriy Taraday's avatar
      Set proxy_timeout to 10m in nginx.conf · 658543c9
      Yuriy Taraday authored
      Fixes #655.
      
      This is a teporary solution for long-polling idle connections to
      apiserver. It will make Nginx not cut them for the duration of expected
      timeout. It will also make Nginx extremely slow in realizing that there
      is some issue with connectivity to apiserver as well, so it might not be
      perfect permanent solution.
      658543c9
    • Bogdan Dobrelya's avatar
      Add advanced net check for DNS K8s app · b7692fad
      Bogdan Dobrelya authored
      
      
      * Add an option to deploy K8s app to test e2e network connectivity
        and cluster DNS resolve via Kubedns for nethost/simple pods
        (defaults to false).
      * Parametrize existing k8s apps templates with kube_namespace and
        kube_config_dir instead of hardcode.
      * For CoreOS, ensure nameservers from inventory to be put in the
        first place to allow hostnet pods connectivity via short names
        or FQDN and hostnet agents to pass as well, if netchecker
        deployed.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      b7692fad
  11. 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
  12. Nov 23, 2016
  13. Nov 22, 2016
  14. Nov 21, 2016
  15. Nov 18, 2016
  16. Nov 17, 2016
  17. Nov 15, 2016
  18. Nov 14, 2016
  19. Nov 10, 2016
  20. Nov 09, 2016
  21. Nov 08, 2016
  22. 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
Loading