Skip to content
Snippets Groups Projects
  1. May 11, 2018
    • Matthew Mosesohn's avatar
      refactor vault role (#2733) · 07cc9819
      Matthew Mosesohn authored
      * Move front-proxy-client certs back to kube mount
      
      We want the same CA for all k8s certs
      
      * Refactor vault to use a third party module
      
      The module adds idempotency and reduces some of the repetitive
      logic in the vault role
      
      Requires ansible-modules-hashivault on ansible node and hvac
      on the vault hosts themselves
      
      Add upgrade test scenario
      Remove bootstrap-os tags from tasks
      
      * fix upgrade issues
      
      * improve unseal logic
      
      * specify ca and fix etcd check
      
      * Fix initialization check
      
      bump machine size
      07cc9819
  2. Mar 30, 2018
  3. Feb 10, 2018
  4. Jan 18, 2018
  5. Jan 16, 2018
  6. Oct 19, 2017
  7. Oct 11, 2017
    • Vijay Katam's avatar
      Rename dns_server, add var for selinux. (#1572) · 27ed73e3
      Vijay Katam authored
      * Rename dns_server to dnsmasq_dns_server so that it includes role prefix
      as the var name is generic and conflicts when integrating with existing ansible automation.
      *  Enable selinux state to be configurable with new var preinstall_selinux_state
      27ed73e3
  8. Oct 05, 2017
  9. Sep 10, 2017
  10. 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
  11. Sep 03, 2017
  12. Aug 24, 2017
  13. Jul 06, 2017
  14. Jun 16, 2017
  15. Apr 13, 2017
  16. Apr 06, 2017
  17. Mar 27, 2017
  18. Mar 22, 2017
  19. Mar 21, 2017
  20. 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
  21. Feb 18, 2017
  22. Feb 17, 2017
    • Sergii Golovatiuk's avatar
      Fix fact tags · e91e58ae
      Sergii Golovatiuk authored
      
      Ansible playbook fails when tags are limited to "facts,etcd" or to
      "facts". This patch allows to run ansible-playbook to gather facts only
      that don't require calico/flannel/weave components to be verified. This
      allows to run ansible with 'facts,bootstrap-os' or just 'facts' to
      gether facts that don't require specific components.
      
      Signed-off-by: default avatarSergii Golovatiuk <sgolovatiuk@mirantis.com>
      e91e58ae
  23. Feb 13, 2017
  24. Feb 10, 2017
  25. Feb 08, 2017
  26. Feb 06, 2017
  27. Jan 31, 2017
    • Artem Panchenko's avatar
      Explicitly set config path for DNSMasq · 1418fb39
      Artem Panchenko authored
      When DNSMasq is configured to read its settings
      from a folder ('-7' or '--conf-dir' option) it only
      checks that the directory exists and doesn't fail if
      it's empty. It could lead to a situation when DNSMasq
      is running and handles requests, but not properly
      configured, so some of queries can't be resolved.
      1418fb39
  28. Jan 27, 2017
  29. 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
  30. 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
  31. Jan 06, 2017
  32. Dec 23, 2016
  33. Dec 21, 2016
  34. Dec 19, 2016
  35. Dec 13, 2016
  36. 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
  37. Nov 28, 2016
    • 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
Loading