Smaine Kahlouch
9f01331595
Merge pull request #442 from kubespray/issue-441
ensure bin dir for coreos before anything else
8 years ago
Spencer Smith
82076f90a3
ensure bin dir for coreos before anything else
8 years ago
Smaine Kahlouch
e165bb19a0
Merge pull request #440 from bogdando/roles_deps
Refactor roles and hosts
8 years ago
Bogdan Dobrelya
8168689caa
Refactor roles and hosts
Shorten deployment time with:
- Remove redundand roles if duplicated by a dependency and vice versa
- When a member of k8s-cluster, always install docker as a dependency
of the etcd role and drop the docker role from cluster.yaml.
- Drop etcd and node role dependencies from master role as they are
covered by the node role in k8s-cluster group as well. Copy defaults
for master from node role.
- Decouple master, node, secrets roles handlers and vars to be used w/o
cross references.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
c71b078c8e
Merge pull request #437 from kubespray/issues/429
Fix handler triggering for kubelet restart
8 years ago
Bogdan Dobrelya
caa8efbf86
Fix handler triggering for kubelet restart
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
bcec5553c5
Merge pull request #434 from kubespray/issue-426
Check only for AWS, wrote some docs on actually using AWS
8 years ago
Smaine Kahlouch
9ac744779c
Merge pull request #433 from bogdando/issues/322
Fix resolv.conf search/nameserver
8 years ago
Spencer Smith
4e76bced53
merge with current master, update typos in doc
8 years ago
Spencer Smith
60f263b629
updated to no longer handle gce as cloud-provider. provided aws setup doc
8 years ago
Bogdan Dobrelya
ea57ce7514
Fix resolv.conf search/nameserver
* Ensure additional nameserver/search, if defined as vars.
* Don't backup changed dhclient hooks as they are going to be
executed by dhclient as well, which is not what we want.
* For debian OS family only:
- Rename nodnsupdate hook the resolvconf hook to be sourced always
before it.
- Ensure dhclient restarted via network restart to apply the
nodnsupdate hook.
* For rhel OS family, the fix TBD, it doesn't work the same way.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
439a2e2678
Merge pull request #432 from kubespray/revert_regressions
Revert regressions
8 years ago
Smana
346eca5748
Revert "pass cloud provider flag in all cases, not just openstack"
This reverts commit f35e5e864f
.
8 years ago
Smana
643b28f9d3
Revert "Fix resolv.conf search/nameserver"
This reverts commit 977f82c32c
.
8 years ago
Smaine Kahlouch
1938c96239
Merge pull request #420 from bogdando/collect_info
Adjust collect-info playbook
8 years ago
Smaine Kahlouch
5dc8f5229f
Merge pull request #427 from kubespray/issue-426
pass cloud provider flag in all cases, not just openstack
8 years ago
Spencer Smith
f35e5e864f
pass cloud provider flag in all cases, not just openstack
8 years ago
Bogdan Dobrelya
47b4242613
Adjust collect-info playbook
Cleanup collected artifacts,
drop unrelated files/commands.
Always install gitinfos script to binaries for external
use.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
92c4428cfd
Merge pull request #422 from kubespray/issue-421
remove host ca-certs, as they aren't necessary
8 years ago
Smaine Kahlouch
d97673c13f
Merge pull request #423 from bogdando/fix_gitinfos
Fix gen-gitinfos.sh
8 years ago
Bogdan Dobrelya
f61071312a
Fix gen-gitinfos.sh
Fix the error gen-gitinfos.sh: 57: [: foo: unexpected operator
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Spencer Smith
234608433e
remove host ca-certs, as they aren't necessary
8 years ago
Smaine Kahlouch
36b6ae9a3c
Merge pull request #419 from bogdando/fix_322
Fix resolv.conf search/nameserver
8 years ago
Bogdan Dobrelya
977f82c32c
Fix resolv.conf search/nameserver
Rename nodnsupdate hook the resolvconf hook to be sourced always
before it.
Ensure dhclient restarted via network restart to apply the
nodnsupdate hook.
Ensure additional nameserver/search, if defined as vars.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
1f6dce61ba
Merge pull request #418 from kubespray/fixkubeletnode
Restart kubelet if launcher changed
8 years ago
Matthew Mosesohn
6f07da9f41
Restart kubelet if launcher changed
Fixes #409
8 years ago
Smaine Kahlouch
ac7cc4b7d1
Merge pull request #413 from kubespray/fix_etcd_standalone_play
Fix etcd play to only run on non-k8s-cluster nodes
8 years ago
Matthew Mosesohn
d591b59205
Fix etcd play to only run on non-k8s-cluster nodes
This decreases the time required to deploy a cluster with
3 nodes, but none are standalone etcd roles.
8 years ago
Smaine Kahlouch
c6f2102073
Merge pull request #412 from kubespray/optionalkubeletcni
Copy hyperkube cni plugins optionally for calico deployment
8 years ago
Smaine Kahlouch
612266f3e5
Merge pull request #408 from kubespray/upstreaming_to_k8s
upstreaming to k8s
8 years ago
Smana
5fbfa1481e
files needed to move kargo to k8s
8 years ago
Smaine Kahlouch
430a87d887
Merge pull request #416 from kubespray/bug383
Fix init scripts for etcd. Fixes #383
8 years ago
Matthew Mosesohn
0c953101ff
Fix init scripts for etcd. Fixes #383
Fixes Ubuntu 14.04 deployment of etcd.
8 years ago
Smaine Kahlouch
07c144d8a6
Merge pull request #415 from kubespray/issue-414
force fact check of all nodes first thing
8 years ago
Spencer Smith
298ab8e89e
force fact check of all nodes first thing
8 years ago
Smaine Kahlouch
8812be1e14
Merge pull request #411 from idvoretskyi/patch-1
OpenStack minor fix
8 years ago
Ihor Dvoretskyi
4268996680
OpenStack minor fix
8 years ago
Smaine Kahlouch
34232a170a
Merge pull request #410 from dis-xcom/fix-resolvconf-discovery
Fix resolvconf executable discovery
8 years ago
dis
0fa90ec9e8
Fix resolvconf executable discovery
If resolvconf was installed and then removed, the file
/etc/resolvconf/resolv.conf.d/head remains in the filesystem
- change discovery of 'resolvconf' executable to check if it
can be located with 'which resolvconf' command or not.
8 years ago
Matthew Mosesohn
f073ee91ea
Copy hyperkube cni plugins optionally for calico deployment
Hyperkube from CoreOS now ships with all binaries required for
calico and flannel (but not weave). It simplifies deployment for
some network plugin scenarios to not download CNI images.
TODO: Optionally disable downloading calico to /opt/cni/bin
8 years ago
Smaine Kahlouch
cf502735e9
Merge pull request #407 from bogdando/ansible_logs
Collect ansible logs as artifacts
8 years ago
Bogdan Dobrelya
252a30aee8
Collect ansible logs as artifacts
Extends https://github.com/kubespray/kargo/pull/406
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
677c4c4cb6
Merge pull request #404 from bogdando/fix_sunit
Fix calico-node service unit
8 years ago
Smaine Kahlouch
6a457720a4
Merge pull request #406 from bogdando/collect_info
Add a diagnostic info collect playbook
8 years ago
Smaine Kahlouch
f2de250b10
Merge pull request #405 from kubespray/disableipv6dns
Add option to disable ipv6 dns lookup
8 years ago
Bogdan Dobrelya
6cb9bd2619
Add a diagnostic info collect playbook
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Matthew Mosesohn
e727bd52f1
Add option to disable ipv6 dns lookup
New variable disable_ipv6_dns in kubernetes/preinstall.
8 years ago
Bogdan Dobrelya
d2c57142d3
Fix calico-node service unit
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
9be099466d
Merge pull request #403 from kubespray/bug368
Check dnsmasq on first kube-node
8 years ago
Matthew Mosesohn
acae5d4286
Check dnsmasq on first kube-node
kube-masters without kube-node role will not run
kube-proxy, and therefore can't check if dnsmasq
is running.
Fixes #368
8 years ago