mattymo
68808534b3
Fix order in restart kubelet to fix systemd reload
...
Systemd reload before reload kubelet was failing because its definition was before "restart kubelet". Its definition should be after the notify hook.
2016-05-31 20:09:49 +04:00
Smaine Kahlouch
cb92b30c25
Merge pull request #273 from kubespray/default_to_insecure_registry
...
example env allow insecure-registry
2016-05-28 21:14:14 +02:00
Paul Czarkowski
67147cf435
example env allow insecure-registry
...
Many use cases of k8s involve running a local
registry, chances are the person running this
will learn the hard way that they need to allow
insecure registry on the `kube_service_addresses`
network.
We should just default to settings this in
`inventory/group_vars/all.yml` to help reduce
potential friction for first time users.
2016-05-28 11:56:16 -05:00
Smaine Kahlouch
96a2439c38
Merge pull request #264 from rsmitty/issue-255
...
resolves coreos nodes not setting up docker proxies
2016-05-26 21:55:53 +02:00
Smaine Kahlouch
e8f97aa437
Merge pull request #268 from rsmitty/issue-265
...
provides initial docker options support
2016-05-26 21:14:32 +02:00
Spencer Smith
87757d4fcf
provides initial docker options support
2016-05-25 12:56:45 -04:00
Smaine Kahlouch
33de89b69f
Merge pull request #263 from rsmitty/issue-262
...
removed os restriction for coreos
2016-05-24 22:14:51 +02:00
Smaine Kahlouch
9e86f1672b
Merge pull request #266 from rsmitty/slack-update
...
Dropped a link for people to self-invite to slack channel
2016-05-24 22:04:49 +02:00
Spencer Smith
28aade3e06
cleaned up wording after a second read
2016-05-24 12:32:09 -04:00
Spencer Smith
35276de37e
Dropped a link for people to self-invite to slack channel
2016-05-24 12:29:34 -04:00
Spencer Smith
492218a3e1
resolves coreos nodes not setting up docker proxies
2016-05-24 12:11:24 -04:00
Spencer Smith
a740e521d2
removed os restriction for coreos
2016-05-24 12:03:16 -04:00
Smaine Kahlouch
bdc183114a
Merge pull request #261 from paulczar/meta_roles_yo
...
turn adduser/download roles into meta roles
2016-05-23 17:29:37 +02:00
Paul Czarkowski
7de87d958e
turn adduser/download roles into meta roles
...
This should make things a little more composable,
by making these roles meta roles that perform no
actions by default we allow each role to own its own
resources.
2016-05-22 17:25:52 -05:00
Smaine Kahlouch
ffce277c0c
Merge pull request #259 from paulczar/api_advertised_address
...
set `--advertise-address` for kube api-server
2016-05-22 21:40:21 +02:00
Paul Czarkowski
c226b4e5cb
fixes issue #258
...
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`.
2016-05-22 13:48:16 -05:00
Smaine Kahlouch
094f4d02b8
Merge pull request #253 from paulczar/fix_vagrantfile
...
set vm box to be hashicorp hosted trusty
2016-05-21 09:28:33 +02:00
Paul Czarkowski
ba615ff94e
race condition in download role under vagrant
...
using a shared folder can cause race conditions for the download
role as it tries to download files on all the nodes to the same
shared path. This adds a flag to run the tasks in the download
role on just one node.
2016-05-20 17:04:38 -05:00
Paul Czarkowski
5240465f39
set vm box to be hashicorp hosted trusty
...
I accidently left in the old download URL for coreos
even after I switched the box name to be ubuntu, it
worked fine for me because I already had that box
locally so it didn't try to download. This should
resolve this by using the official bento/ubuntu-14.04
box which is a nice minimal image.
We also allow the default behaviour of sharing folder to VMs
By doing this we can stage our download files in a shared location
and speed up subsequent runs significantly.
Finally will create more verbose documentation.
2016-05-20 17:04:03 -05:00
Antoine Legrand
ef6a59bbd3
Update README.md
2016-05-18 12:14:07 +02:00
Smaine Kahlouch
cd123f7f24
Merge pull request #251 from davidreuss/patch-2
...
Use correct google ns for dns upstream
2016-05-17 13:41:30 +02:00
David Reuss
0984b23f0e
Use correct google ns for dns upstream
2016-05-17 13:19:13 +02:00
Smaine Kahlouch
d9dca20d7f
Merge pull request #247 from paulczar/check_certs_defaults
...
Fix issue with check_certs playbook
2016-05-16 08:55:27 +02:00
Paul Czarkowski
d8bebcd201
Fix issue with check_certs playbook
...
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.
2016-05-15 17:15:59 -05:00
Smaine Kahlouch
f576d70b3c
Merge pull request #245 from kubespray/fix_flannel_deploy_213
...
fix flannel deployment, remove docker bridge before restarting
2016-05-13 19:54:07 +02:00
Smana
ae5ff890d4
fix flannel deployment, remove docker bridge before restarting
2016-05-13 18:10:00 +02:00
Smaine Kahlouch
24ee97d558
Merge pull request #244 from rsmitty/issue-219
...
Remove need to pre-create writeable dir on CoreOS
2016-05-13 14:07:26 +02:00
Spencer Smith
f949bfd46c
remove need for baking image to get writeable /opt/bin
2016-05-13 02:48:13 -07:00
Smaine Kahlouch
242e96d251
Merge pull request #230 from rsmitty/issue-229
...
Issue-229: Support Proxies in Docker Daemon
2016-05-12 21:25:53 +02:00
Spencer Smith
66d9a6ebbc
updated to use handlers
2016-05-12 12:18:38 -07:00
Smaine Kahlouch
4e28f1de4e
Merge pull request #240 from kubespray/ant31-chat-1
...
Update README.md
2016-05-12 20:31:18 +02:00
Spencer Smith
9b8a757526
missed a name update :)
2016-05-12 09:30:11 -07:00
Spencer Smith
a894a8c7bc
Merge branch 'master' into issue-229
2016-05-12 09:10:57 -07:00
Spencer Smith
962155e463
updated names and removed checks for rhel, as we already know we have systemd inside that play
2016-05-12 09:06:31 -07:00
Spencer Smith
c90c981bb2
updated to support all OSes using systemd
2016-05-12 09:03:11 -07:00
Antoine Legrand
04fe83daa0
Update README.md
2016-05-12 17:22:36 +02:00
Smaine Kahlouch
50d0ab2944
Merge pull request #237 from kubespray/upgrade_kubernetes_v1.2.4
...
upgrade k8s vers, and add a script for future upgrades
2016-05-12 16:14:06 +02:00
Smana
608e7dfab2
upgrade k8s vers, and add a script for future upgrades
2016-05-12 15:56:30 +02:00
Smaine Kahlouch
c6e3a8dbbd
Merge pull request #236 from kubespray/fix_gen_certs_234
...
fixes the certs issue when masters or not in the kube-node group
2016-05-12 10:23:10 +02:00
Smana
1884d89d3b
fixes the certs issue when masters or not in the kube-node group
2016-05-12 10:07:34 +02:00
Smaine Kahlouch
ed95f9ab81
Merge pull request #232 from rsmitty/issue-231
...
Issue 231: ensure ca.pem makes it to multi-masters
2016-05-11 21:24:04 +02:00
Spencer Smith
9f8466a186
ensure ALL certs are synced between masters
2016-05-11 10:09:13 -07:00
Smaine Kahlouch
8c869a2e3e
Merge pull request #235 from rsmitty/issue-233
...
Issue 233: Typo with sync_tokens vs. sync_certs
2016-05-11 18:43:18 +02:00
Spencer Smith
743ad0eb5c
s/sync_certs/sync_tokens
2016-05-11 09:38:26 -07:00
Spencer Smith
5253b3ec13
ensure ca.pem makes it to multi-masters
2016-05-11 09:06:08 -07:00
Spencer Smith
ebf8231c9a
only run if proxy variables are added
2016-05-10 15:53:32 -07:00
Spencer Smith
adceaf60e1
support proxies with docker on rhel
2016-05-10 15:49:27 -07:00
Smaine Kahlouch
96c63cc0b6
Merge pull request #227 from paulczar/vagrant
...
Add native Vagrant support
2016-05-09 11:47:07 +02:00
Paul Czarkowski
5f2fa6d76f
revert .gitignore for secrets
2016-05-08 23:46:35 -05:00
Paul Czarkowski
bd064e8094
fix flannel's cross vm networking for vagrant
...
* set flannel backend type to `host-gw`
* set flannel interface to be eth1 ip
2016-05-08 23:42:42 -05:00