Skip to content
  1. Feb 14, 2017
  2. Feb 10, 2017
  3. Feb 09, 2017
  4. Feb 07, 2017
  5. Feb 06, 2017
  6. Feb 05, 2017
  7. 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
  8. Jan 19, 2017
    • Matthew Mosesohn's avatar
      Add scale thresholds to split etcd and k8s-masters · f742fc3d
      Matthew Mosesohn authored
      Also adds calico-rr group if there are standalone etcd nodes.
      Now if there are 50 or more nodes, 3 etcd nodes will be standalone.
      If there are 200 or more nodes, 2 kube-masters will be standalone.
      If thresholds are exceeded, kube-node group cannot add nodes that
      belong to etcd or kube-master groups (according to above statements).
      f742fc3d
  9. Jan 17, 2017
  10. Jan 11, 2017
  11. Jan 10, 2017
  12. Jan 09, 2017
  13. Jan 06, 2017
  14. Jan 02, 2017
  15. Dec 29, 2016
  16. Dec 28, 2016
  17. Dec 23, 2016
  18. Dec 22, 2016
  19. Dec 21, 2016
  20. Dec 20, 2016
  21. Dec 19, 2016
  22. Dec 16, 2016
  23. Dec 15, 2016
    • Bogdan Dobrelya's avatar
      Manual steps for Gitlab CI pipeline · ad68b23d
      Bogdan Dobrelya authored
      
      
      * Reduce default testcase to 2 nodes, add HA case.
      * Adjust gen_matrix script for Travis/Gitlab CIs.
      * Enable netchecker deploy foro gitlab CI.
      * Sync other things from travis matrix and reorder them as build steps
        for pull requests, master branch, auto/manual.
      * Do auto-step1 from part1 and manual step2,3 for branches/PRs.
      * Do manual steps from part2, special for master merges.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      ad68b23d
  24. Dec 14, 2016
  25. Dec 13, 2016
  26. Dec 12, 2016
    • Bogdan Dobrelya's avatar
      Rework DNS stack to meet hostnet pods needs · 3117858d
      Bogdan Dobrelya authored
      * For Debian/RedHat OS families (with NetworkManager/dhclient/resolvconf
        optionally enabled) prepend /etc/resolv.conf with required nameservers,
        options, and supersede domain and search domains via the dhclient/resolvconf
        hooks.
      
      * Drop (z)nodnsupdate dhclient hook and re-implement it to complement the
        resolvconf -u command, which is distro/cloud provider specific.
        Update docs as well.
      
      * Enable network restart to apply and persist changes and simplify handlers
        to rely on network restart only. This fixes DNS resolve for hostnet K8s
        pods for Red Hat OS family. Skip network restart for canal/calico plugins,
        unless https://github.com/projectcalico/felix/issues/1185
      
       fixed.
      
      * Replace linefiles line plus with_items to block mode as it's faster.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      Co-authored-by: default avatarMatthew Mosesohn <mmosesohn@mirantis.com>
      3117858d
  27. 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
      More granular control for download/upload images/binaries · fd9b2667
      Bogdan Dobrelya authored
      
      
      Add upload tag allow users to exclude distributing images across nodes
      when running with the download tag set.
      Add related tags and update docs as well.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      fd9b2667
Loading