Greg Althaus
bedcca922c
Add variables and defaults for multiple types of ip addresses.
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.
8 years ago
Smaine Kahlouch
a323335d36
use 'kube_pods_subnet' var for flannel conf
8 years ago
Smaine Kahlouch
8d71d56809
update submodules and documentation
8 years ago
ant31
fd6ac61afc
Use local etcd/etcdproxy for calico
8 years ago
Antoine Legrand
4566d60e6f
Slowdown apimaster restart
8 years ago
Antoine Legrand
49a7278563
Set perms on unarchive
8 years ago
Antoine Legrand
b9781fa7c2
Symlink dnsmasq conf
8 years ago
Smaine Kahlouch
90ffb8489a
fix some handlers
8 years ago
Greg Althaus
e7d5b7af67
Force owner and permissions for get_url retrieved
files. get_url doesn't honor owner and mode is spotty.
8 years ago
Greg Althaus
c7bd2a2a1e
Need to use separate stanzas for each repo because the
args are different. Sigh.
8 years ago
Smaine Kahlouch
baaa6efc2b
workaround_ha_apiserver
8 years ago
ant31
56b92812fa
Fix systemd reload and calico unit
8 years ago
ant31
f5508b1794
Use update_cache when possible
8 years ago
Greg Althaus
bcd6ecb7fb
Add flannel vars to enable vagrant and amazon environments
8 years ago
Antoine Legrand
dd61f685b8
AddUser Role
8 years ago
Smaine Kahlouch
4984b57aa2
use rsync instead of command
8 years ago
Smaine Kahlouch
283c4169ac
run apiserver as a service
reorder master handlers
typo for sysvinit
8 years ago
Smaine Kahlouch
5edc81c627
moving kube-cert group into group_vars
8 years ago
Smaine Kahlouch
391413f7e7
missing commits for the PR #86
8 years ago
Smaine Kahlouch
87b42e34e0
create kube-cert group task
8 years ago
Smaine Kahlouch
be0bec9eab
add kube-cert group
8 years ago
Smaine Kahlouch
cb59559835
use command instead of synchronize
8 years ago
Antoine Legrand
078b67c50f
Remove downloader host
8 years ago
Greg Althaus
ec1073def8
Test for a systemd service that should be up.
8 years ago
Greg Althaus
28e530e005
Fix etcd synchronize to other nodes from the downloader
8 years ago
Smaine Kahlouch
de038530ef
don't run gitinfos by default
8 years ago
Smaine Kahlouch
337977e868
script which gives info about the deployment state
fix script location
8 years ago
Smaine Kahlouch
9715962356
etcd directly in host
fix etcd configuration for nodes
fix wrong calico checksums
using a var name etcd_bin_dir
fix etcd handlers for sysvinit
using a var name etcd_bin_dir
sysvinit script
review etcd configuration
8 years ago
Smaine Kahlouch
a5094f2a6a
move /etc/hosts configuration in 'preinstall' role
8 years ago
Greg Althaus
fe5ec398bf
Use IP is specified, otherwise use the ansible discovered address.
This fixes cases for use in Vagrant environments.
8 years ago
Greg Althaus
10b2466d82
run_once only works if master[0] is first in inventory list
of all nodes.
8 years ago
Antoine Legrand
f68d8f3757
Add seT_remote_user in synchronize
8 years ago
Antoine Legrand
9b083b62cf
Rename tasks
8 years ago
Smaine Kahlouch
b54af6b42f
reduce dns timeout
8 years ago
Smaine Kahlouch
7cab7e5fef
restarting kubelet is sometimes required after docker restart
8 years ago
Smaine Kahlouch
4c5735cef8
configure dnsmasq to listen on localhost only
8 years ago
Smaine Kahlouch
58e1db6aae
update kubedns submodule
8 years ago
Smaine Kahlouch
63ae6ba5b5
dnsmasq runs on all nodes
8 years ago
Smaine Kahlouch
f58b4d3dd6
dnsmasq listens on localhost
8 years ago
Smaine Kahlouch
d3a8584212
add timeout options to resolv.conf
8 years ago
ant31
4271126bae
Change hyperkube repo
8 years ago
Smaine Kahlouch
049f5015c1
upgrade hyperkube image version
8 years ago
Smaine Kahlouch
6ab671c88b
update memcached submodule
8 years ago
Smaine Kahlouch
d73ac90acf
udpate k8s-pgbouncer submodule
8 years ago
Smaine Kahlouch
adf6e2f7b1
update postgres submodule
8 years ago
Smaine Kahlouch
806834a6e9
upgrade kubernetes to 1.1.4 and calico to 0.14.0
8 years ago
Smaine Kahlouch
8415634016
use google hyperkube image
8 years ago
Smaine Kahlouch
8127e8f8e8
Flannel running as pod
8 years ago
Smaine Kahlouch
51a0996087
fix regexp for resolv.conf
8 years ago
ant31
5d61b5e813
Fix namespace
8 years ago