Skip to content
  1. Feb 27, 2017
  2. Feb 18, 2017
    • Abel Lopez's avatar
      Safe disable SELinux · 0bfc2d0f
      Abel Lopez authored
      Sometimes, a sysadmin might outright delete the SELinux rpms and
      delete the configuration. This causes the selinux module to fail
      with
      ```
      IOError: [Errno 2] No such file or directory: '/etc/selinux/config'\n",
      "module_stdout": "", "msg": "MODULE FAILURE"}
      ```
      
      This simply checks that /etc/selinux/config exists before we try
      to set it Permissive.
      
      Update from feedback
      0bfc2d0f
    • Andrew Greenwood's avatar
      Cleanup legacy syntax, spacing, files all to yml · ca9ea097
      Andrew Greenwood authored
      Migrate older inline= syntax to pure yml syntax for module args as to be consistant with most of the rest of the tasks
      Cleanup some spacing in various files
      Rename some files named yaml to yml for consistancy
      ca9ea097
  3. Feb 13, 2017
    • Vladimir Rutsky's avatar
      set "check_mode: no" for read-only "shell" steps that registers result · 09847567
      Vladimir Rutsky authored
      "shell" step doesn't support check mode, which currently leads to failures,
      when Ansible is being run in check mode (because Ansible doesn't run command,
      assuming that command might have effect, and no "rc" or "output" is registered).
      
      Setting "check_mode: no" allows to run those "shell" commands in check mode
      (which is safe, because those shell commands doesn't have side effects).
      09847567
  4. Feb 09, 2017
  5. Feb 06, 2017
  6. Jan 26, 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 12, 2017
  9. Jan 11, 2017
  10. Jan 06, 2017
  11. Jan 05, 2017
  12. Jan 02, 2017
  13. Dec 14, 2016
  14. Dec 12, 2016
  15. 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
  16. Dec 07, 2016
    • 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
  17. Dec 06, 2016
  18. Dec 02, 2016
  19. Nov 29, 2016
  20. Nov 08, 2016
  21. Oct 15, 2016
  22. Sep 15, 2016
  23. Sep 13, 2016
  24. Aug 26, 2016
  25. Aug 23, 2016
  26. Aug 08, 2016
  27. 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
  28. Jul 20, 2016
  29. Jun 12, 2016
  30. Jun 11, 2016
  31. Apr 20, 2016
  32. Apr 13, 2016
  33. Apr 12, 2016
Loading