Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Nov 23, 2016
  4. Nov 22, 2016
  5. Nov 15, 2016
  6. Nov 14, 2016
    • Matthew Mosesohn's avatar
      Fix kubelet deprecated options · 8ca1f4ce
      Matthew Mosesohn authored
      --api-servers now just reads kubeconfig
      --config is now --pod-manifest-path
      
      Fixes #542
      8ca1f4ce
    • Aleksandr Didenko's avatar
      Fix etcd ssl for canal · caa81f3a
      Aleksandr Didenko authored
      - Move CNI configuration from `kubernetes/node` role to
      `network_plugin/canal`
      - Create SSL dir for Canal and symlink etcd SSL files
      - Add needed options to `canal-config` configmap
      - Run flannel and calico-node containers with proper configuration
      caa81f3a
  7. Nov 10, 2016
  8. Nov 09, 2016
  9. Nov 08, 2016
  10. Oct 24, 2016
  11. Oct 19, 2016
  12. Oct 15, 2016
  13. Oct 12, 2016
  14. Oct 10, 2016
  15. Oct 07, 2016
  16. Oct 06, 2016
  17. Oct 05, 2016
  18. Oct 03, 2016
  19. Sep 23, 2016
    • Bogdan Dobrelya's avatar
      Make dnsmasq daemon set optional · 82ee60fe
      Bogdan Dobrelya authored
      
      Change additional dnsmasq opts:
      - Adjust caching size and TTL
      - Disable resolve conf to not create loops
      - Change dnsPolicy to default (similarly to kubedns's dnsmasq). The
        ClusterFirst should not be used to not create loops
      - Disable negative NXDOMAIN replies to be cached
      - Make its very installation as optional step (enabled by default).
        If you don't want more than 3 DNS servers, including 1 for K8s, disable
        it.
      - Add docs and a drawing to clarify DNS setup.
      - Fix stdout logs for dnsmasq/kubedns app configs
      - Add missed notifies to resolvconf -u handler
      - Fix idempotency of resolvconf head file changes
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      82ee60fe
  20. Sep 15, 2016
  21. 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
  22. Aug 24, 2016
  23. Aug 23, 2016
  24. Aug 18, 2016
  25. Aug 15, 2016
  26. Aug 02, 2016
    • Matthew Mosesohn's avatar
      Move docker systemd unit creation to docker role · e8a1c7a5
      Matthew Mosesohn authored
      Creating the unit using default settings early on
      and then changing it during network_plugin section
      leads to too many docker restarts and duplicated code.
      
      Reversed Wants= dependence on docker.service so it does not
      restart docker when reloading systemd
      
      Consolidated all docker restart handlers.
      e8a1c7a5
    • Bogdan Dobrelya's avatar
      Rework systemd service units · 2af71f31
      Bogdan Dobrelya authored
      
      * Add for docker system units:
          ExecReload=/bin/kill -s HUP $MAINPID
          Delegate=yes
          KillMode=process.
      * Add missed DOCKER_OPTIONS for calico/weave docker systemd unit.
      * Change Requires= to a less strict and non-faily Wants=, add missing
        Wants= for After=.
      * Align wants/after in a wat if Wants=foo, After= has foo as well.
      * Make wants/after docker.service to ask for the docker.socket as well.
      * Move "docker rm -f" commands from ExecStartPre= to ExecStopPost=.
        hooks to ensure non-destructive start attempts issued by Wants=.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      2af71f31
  27. Jul 29, 2016
  28. 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
  29. Jul 25, 2016
    • Bogdan Dobrelya's avatar
      Add HA/LB endpoints for kube-apiserver · 731d32af
      Bogdan Dobrelya authored
      
      * Add HA docs for API server.
      * Add auto-evaluated internal endpoints and clarify the loadbalancer_apiserver
      vars and usecases.
      * Use facts for kube_apiserver to not repeat code and enable LB endpoints use.
      * Use /healthz check for the wait-for apiserver.
      * Use the single endpoint for kubelet instead of the list of apiservers
      * Specify kube_apiserver_count to for HA layout
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      731d32af
  30. Jul 22, 2016
  31. Jul 21, 2016
    • Bogdan Dobrelya's avatar
      Add HA/LB endpoints for kube-apiserver · a70c3b66
      Bogdan Dobrelya authored
      
      * Add auto-evaluated internal endpoints and clarify the loadbalancer_apiserver
      vars and usecases.
      * Add loadbalancer_apiserver_localhost (default false). If enabled, override
      the external LB and expect localhost:443/8080 to be new internal only frontends.
      * Add kube_apiserver_multiaccess to ignore loadbalancers, and make clients
      to access the apiservers as a comma-separated list of access_ip/ip/ansible ip
      (a default mode). When disabled, allow clients to use the given loadbalancers.
      * Define connections security mode for kube controllers, schedulers, proxies.
      It is insecure be default, which is the current deployment choice.
      * Rework the groups['kube-master'][0] hardcode defining the apiserver
      endpoints.
      * Improve grouping of vars and add facts for kube_apiserver.
      * Define kube_apiserver_insecure_bind_address as a fact, add more
      facts for ease of use.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      a70c3b66
Loading