Skip to content
Snippets Groups Projects
  1. Jul 19, 2016
    • Bogdan Dobrelya's avatar
      Add etcd proxy support · 32cd6e99
      Bogdan Dobrelya authored
      
      * Enforce a etcd-proxy role to a k8s-cluster group members. This
      provides an HA layout for all of the k8s cluster internal clients.
      * Proxies to be run on each node in the group as a separate etcd
      instances with a readwrite proxy mode and listen the given endpoint,
      which is either the access_ip:2379 or the localhost:2379.
      * A notion for the 'kube_etcd_multiaccess' is: ignore endpoints and
      loadbalancers and use the etcd members IPs as a comma-separated
      list. Otherwise, clients shall use the local endpoint provided by a
      etcd-proxy instances on each etcd node. A Netwroking plugins always
      use that access mode.
      * Fix apiserver's etcd servers args to use the etcd_access_endpoint.
      * Fix networking plugins flannel/calico to use the etcd_endpoint.
      * Fix name env var for non masters to be set as well.
      * Fix etcd_client_url was not used anywhere and other etcd_* facts
      evaluation was duplicated in a few places.
      * Define proxy modes only in the env file, if not a master. Del
      an automatic proxy mode decisions for etcd nodes in init/unit scripts.
      * Use Wants= instead of Requires= as "This is the recommended way to
      hook start-up of one unit to the start-up of another unit"
      * Make apiserver/calico Wants= etcd-proxy to keep it always up
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      Co-authored-by: default avatarMatthew Mosesohn <mmosesohn@mirantis.com>
      32cd6e99
  2. Jul 08, 2016
  3. Jul 05, 2016
  4. Jul 02, 2016
  5. Jun 27, 2016
  6. Jun 24, 2016
  7. May 22, 2016
    • Paul Czarkowski's avatar
      fixes issue #258 · c226b4e5
      Paul Czarkowski authored
      Kubernetes API server has an option:
      
      ```
      --advertise-address=<nil>: The IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.
      ```
      
      kargo does not set --bind-address, thus it binds to eth0, in vagrant and similar
      environments this causes issues because nodes cannot talk to eachother over eth0.
      
      This sets `--advertise-address` to `ip` if its set, otherwise the default behavior
      of is persisted by using `ansible_default_ipv4.address`.
      c226b4e5
  8. Apr 01, 2016
  9. Mar 31, 2016
  10. Mar 29, 2016
  11. Mar 22, 2016
  12. Feb 13, 2016
  13. Feb 01, 2016
  14. Jan 28, 2016
    • Greg Althaus's avatar
      Add variables and defaults for multiple types of ip addresses. · bedcca92
      Greg Althaus authored
      Each node can have 3 IPs.
      1. ansible_default_ip4 - whatever ansible things is the first IPv4 address
         usually with the default gw.
      2. ip - An address to use on the local node to bind listeners and do local
         communication.  For example, Vagrant boxes have a first address that is the
         NAT bridge and is common for all nodes.  The second address/interface should
         be used.
      3. access_ip - An address to use for node-to-node access.  This is assumed to
         be used by other nodes to access the node and may not be actually assigned
         on the node.  For example, AWS public ip that is not assigned to node.
      
      This updates the places addresses are used to use either ip or access_ip and walk
      up the list to find an address.
      bedcca92
  15. Jan 26, 2016
  16. Jan 23, 2016
  17. Dec 19, 2015
  18. Dec 16, 2015
  19. Dec 15, 2015
  20. Dec 14, 2015
  21. Dec 12, 2015
  22. Nov 30, 2015
  23. Nov 27, 2015
  24. Nov 22, 2015
  25. Nov 20, 2015
  26. Nov 19, 2015
  27. Nov 17, 2015
  28. Nov 01, 2015
  29. Oct 27, 2015
  30. Oct 04, 2015
Loading