Skip to content
  1. 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
  2. Jul 20, 2016
  3. 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
  4. Jul 14, 2016
  5. Jul 12, 2016
  6. Jul 08, 2016
  7. Jul 06, 2016
  8. Jul 05, 2016
  9. Jul 03, 2016
  10. Jul 02, 2016
  11. Jun 29, 2016
  12. Jun 27, 2016
  13. Jun 24, 2016
  14. Jun 12, 2016
  15. Jun 11, 2016
  16. May 31, 2016
  17. May 24, 2016
  18. May 23, 2016
  19. 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
  20. May 16, 2016
    • Paul Czarkowski's avatar
      Fix issue with check_certs playbook · d8bebcd2
      Paul Czarkowski authored
      check_certs task "Check_certs | Set 'sync_certs' to true" was failing
      due to the dict not existing, this sets defaults that allows the
      correct behavior of the conditionals.
      d8bebcd2
  21. May 13, 2016
  22. May 12, 2016
  23. May 11, 2016
  24. May 09, 2016
  25. May 08, 2016
    • Paul Czarkowski's avatar
      Add native Vagrant support · 8f4e879c
      Paul Czarkowski authored
      This allows you to simply run `vagrant up` to get a 3 node HA cluster.
      
      * Creates a dynamic inventory and uses the inventory/group_vars/all.yml
      * commented lines in inventory.example so that ansible doesn't try to use it.
      * added requirements.txt to give easy way to install ansible/ipaddr
      * added gitignore files to stop attempts to save unwated files
      * changed `Check if kube-system exists` to `failed_when: false` instead of
      `ignore_errors`
      8f4e879c
  26. May 07, 2016
  27. Apr 20, 2016
  28. Apr 13, 2016
  29. Apr 12, 2016
  30. Apr 11, 2016
Loading