Bogdan Dobrelya
a76e5dbb11
Fix set_facts visibility
Move set_facts to the preinstall scope, so every role
may see it. For example, network plugins to see the etcd_endpoint.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Matthew Mosesohn
c3e5aac18e
Add variable kube_resolv_conf
Allow configuration of a custom /etc/resolv.conf for kubelet.
8 years ago
Antoine Legrand
10b38ab9ff
Merge pull request #355 from bogdando/issues/26
Add etcd proxy support
8 years ago
Bogdan Dobrelya
32cd6e99b2
Add etcd proxy support
* 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>
8 years ago
Smaine Kahlouch
a2540e3318
Merge pull request #362 from bogdando/fix_service_unit
Fix systemd service unit for etcd
8 years ago
Bogdan Dobrelya
0b874e8db2
Fix systemd service unit for etcd
See https://github.com/coreos/etcd/issues/4308
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
192136df20
Merge pull request #359 from kubespray/fix_351
deployment idempotent
8 years ago
Smana
ab8fdba484
deployment idempotent
8 years ago
Smaine Kahlouch
342e6d6823
Merge pull request #358 from kubespray/use_coreos_hyperkube
use hyperkube coreos image
8 years ago
Smana
dfe7bfd127
use hyperkube coreos image
8 years ago
Smaine Kahlouch
51f55f3748
Merge pull request #353 from kubespray/proxymode_default_iptables
use iptables as default proxy mode
8 years ago
Smana
a709cd9aa1
use iptables as default proxy mode
8 years ago
Jonathan Beckman
d4dfdf68a6
Add settable flannel image tag & image repo
New settings with defaults:
flannel_server_helper_image_repo: "gcr.io/google_containers/"
flannel_server_helper_image_tag: "0.1"
flannel_image_repo: "quay.io/coreos/flannel"
flannel_image_tag: "0.5.5"
8 years ago
Smaine Kahlouch
a5c21ab2e8
Merge pull request #346 from bogdando/issues/345
Add hostpath dynamic provisioner for PetSets
8 years ago
Smaine Kahlouch
c1690c91c2
Merge pull request #348 from rsmitty/master
updated admission controllers for >1.2 Kubernetes
8 years ago
Smaine Kahlouch
e8195b65e4
Merge pull request #344 from jcsirot/master
Some additional roadmap items
8 years ago
Spencer Smith
c9cff5c845
updated admission controllers for >1.2 Kubernetes
8 years ago
Bogdan Dobrelya
da20d9eda4
Add hostpath dynamic provisioner for PetSets
Defaults to false. Use with v1.3 only.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Jean-Christophe Sirot
a2bdcabc33
Some additional roadmap items
8 years ago
Smana
1e8ee99d1a
a small change in the roadmap
8 years ago
Smaine Kahlouch
a07260959d
Merge pull request #339 from kubespray/roadmap
roadmap
8 years ago
Smaine Kahlouch
5fdea4b947
first version of the roadmap
8 years ago
Smaine Kahlouch
83da5d7657
Merge pull request #335 from mattymo/calicoctl
Change calicoctl deployment to use container
8 years ago
Smaine Kahlouch
1761f9f891
Merge pull request #309 from mattymo/etcddocker
Add optional deployment mode for Docker etcd_deployment_type
8 years ago
Matthew Mosesohn
b3282cd0bb
Add optional deployment mode for Docker etcd_deployment_type
Running etcd in Docker reduces the number of individual file
downloads and services running on the host.
Note: etcd container v3.0.1 moves bindir to /usr/local/bin
Fixes : #298
8 years ago
Smaine Kahlouch
65ece3bc1d
Merge pull request #341 from jcsirot/ci-test-matrix
Add CI test matrix for GCE
8 years ago
Jean-Christophe Sirot
e2d6b92370
Add CI test matrix
8 years ago
Smaine Kahlouch
bcd912e854
Merge pull request #337 from blasphemy/add-kubelet-ip
Add kubelet ip
8 years ago
Smaine Kahlouch
8251781efb
Merge pull request #340 from abourget/fix/flanneld-free-the-logs
flanneld: don't redirect logs to an unreadable location
8 years ago
Alexandre Bourget
3b7eaf66b6
flanneld: don't redirect logs to an unreadable location, let docker/k8s see
and aggregate them.
8 years ago
Daniel Leining
1d148e9755
fix kubelet ip with quotes
8 years ago
Daniel Leining
d84ed1b4b3
make kubelet use "ip" as bind address
8 years ago
Matthew Mosesohn
baf80b7d7e
Change calicoctl deployment to use container
Improves upgradability of calicoctl by leveraging docker tags.
8 years ago
Smaine Kahlouch
9777b3c177
Merge pull request #333 from mattymo/apiserver-loglevel
Fix kube-apiserver log level syntax
8 years ago
Matthew Mosesohn
d2151500b6
Fix kube-apiserver log level syntax
8 years ago
Smaine Kahlouch
e101b72a72
Merge pull request #332 from mattymo/hyperkubeversion
Set hyperkube version to kube_version
8 years ago
Matthew Mosesohn
b847a43c61
Set hyperkube version to kube_version
8 years ago
Smaine Kahlouch
19f5093034
Merge pull request #331 from kubespray/docs
add documentation
8 years ago
Smaine Kahlouch
585102ee20
add documentation
8 years ago
Smaine Kahlouch
ee7ac22f0d
Merge pull request #328 from kubespray/upgrade_k8s_v1.3.0
upgrade to k8s v1.3.0
8 years ago
Smana
0b67c23d42
test the apiserver from the masters instead of the deployment machine
8 years ago
Smana
f1ba247844
upgrade to k8s v1.3.0
8 years ago
Smaine Kahlouch
2fa7ee0cf9
Merge pull request #326 from kubespray/upgrade_etcd_v3
upgrade to etcd v3.0.1
8 years ago
Smana
40fbb3691d
uprade to etcd v3.0.1
8 years ago
Smaine Kahlouch
d9b1435621
Merge pull request #325 from blasphemy/apiserver-bind-address
Add --bind-address to kube-apiserver
8 years ago
Daniel Leining
72ab34f210
Add --bind-address to kube-apiserver
8 years ago
Smaine Kahlouch
67ca186dd1
Merge pull request #318 from kubespray/upgrade_k8s_v1.2.5
upgrade kubernetes to v1.2.5
8 years ago
Smana
85fa3efc06
upgrade kubernetes to v1.2.5
8 years ago
Smaine Kahlouch
8531ec9186
Merge pull request #313 from Smana/choose_k8s_version
Helper to change k8s version
8 years ago
Smana
8c3f5f0831
change licence to apache2
8 years ago