Skip to content
Snippets Groups Projects
  1. Jan 05, 2017
  2. 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
  3. Sep 15, 2016
  4. Aug 25, 2016
    • Bogdan Dobrelya's avatar
      Refactor roles and hosts · 8168689c
      Bogdan Dobrelya authored
      
      Shorten deployment time with:
      - Remove redundand roles if duplicated by a dependency and vice versa
      - When a member of k8s-cluster, always install docker as a dependency
        of the etcd role and drop the docker role from cluster.yaml.
      - Drop etcd and node role dependencies from master role as they are
        covered by the node role in k8s-cluster group as well. Copy defaults
        for master from node role.
      - Decouple master, node, secrets roles handlers and vars to be used w/o
        cross references.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      8168689c
  5. Jul 26, 2016
    • Matthew Mosesohn's avatar
      Fix etcd standalone deployment · 1b1f5f22
      Matthew Mosesohn authored
      etcd facts are generated in kubernetes/preinstall, so etcd nodes need
      to be evaluated first before the rest of the deployment.
      
      Moved several directory facts from kubernetes/node to
      kubernetes/preinstall because they are not backward dependent.
      1b1f5f22
  6. Jul 07, 2016
  7. May 23, 2016
Loading