- Aug 02, 2016
-
-
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:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Jul 25, 2016
-
-
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:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Jul 22, 2016
-
-
Matthew Mosesohn authored
kubelet via docker kube-apiserver as a static pod Fixed etcd service start to be more tolerant of slow start. Workaround for kube_version to stay in download role, but not download an files by creating a new "nothing" download entry.
-
Matthew Mosesohn authored
This reverts commit a70c3b66.
-
- Jul 21, 2016
-
-
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:
Bogdan Dobrelya <bdobrelia@mirantis.com>
-
- Jul 20, 2016
-
-
Matthew Mosesohn authored
Allow configuration of a custom /etc/resolv.conf for kubelet.
-
- Jul 19, 2016
-
-
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:
Bogdan Dobrelya <bdobrelia@mirantis.com> Co-authored-by:
Matthew Mosesohn <mmosesohn@mirantis.com>
-
- Jul 06, 2016
-
-
Daniel Leining authored
-
Daniel Leining authored
-
- Apr 20, 2016
-
-
Smana authored
-
- Mar 29, 2016
-
-
teuto.net Netzdienste GmbH authored
Currently kubespray does not install kubernetes in a way that allows cinder volumes to be used. This commit provides the necessary cloud configuration file and configures kubelet and kube-apiserver to use it.
-
- Mar 22, 2016
-
-
Smaine Kahlouch authored
-
- Feb 29, 2016
-
-
Smana authored
-
- Feb 13, 2016
- Feb 10, 2016
-
-
Greg Althaus authored
-
- Feb 09, 2016
-
-
Smana authored
-
Smaine Kahlouch authored
-
- Jan 28, 2016
-
-
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.
-
- Jan 23, 2016
-
-
Smaine Kahlouch authored
reorder master handlers typo for sysvinit
-
- Jan 04, 2016
-
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
- Dec 31, 2015
-
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
- Dec 30, 2015
-
-
Smaine Kahlouch authored
-
- Dec 17, 2015
-
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
- Dec 15, 2015
-
-
Smaine Kahlouch authored
-
ant31 authored
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
- Dec 14, 2015
-
-
Smaine Kahlouch authored
-
- Dec 12, 2015
-
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
-
Smaine Kahlouch authored
Master and nodes will run the 'node' role, kube-proxy is run under a container, new script for ssl certs
-
- Nov 22, 2015
-
-
Smaine Kahlouch authored
-
- Nov 20, 2015
-
-
Antoine Legrand authored
-
- Nov 19, 2015
-
-
Smaine Kahlouch authored
-
- Nov 17, 2015
-
-
Smaine Kahlouch authored
-