Matthew Mosesohn
a9a016d7b1
Allow collect-logs.yaml to operate without inventory vars
7 years ago
Antoine Legrand
ab12b23e6f
Merge pull request #1173 from bradbeam/dockerlogs
Setting defaults for docker log rotation
7 years ago
Matthew Mosesohn
797bdbd998
Merge pull request #1210 from mattymo/fix-1.5-kubelet
Unbreak 1.5 deployment with kubelet
7 years ago
Matthew Mosesohn
1c45d37348
Update kubelet.j2
7 years ago
Matthew Mosesohn
b521255ec9
Unbreak 1.5 deployment with kubelet
1.5 kubelet fails to start when using unknown params
7 years ago
Matthew Mosesohn
75ea001bfe
Merge pull request #1208 from mattymo/1.6-flannel
Update to k8s 1.6 with flannel and centos fixes
7 years ago
Matthew Mosesohn
ff2fb9196f
Fix flannel for 1.6 and apply fixes to enable containerized kubelet
7 years ago
Matthew Mosesohn
acae0fe4a3
Merge pull request #1205 from holser/resolv_updates
Refactoring resolv.conf
7 years ago
Matthew Mosesohn
ccc11e5680
Upgrade to Kubernetes 1.6.1
7 years ago
Sergii Golovatiuk
2670eefcd4
Refactoring resolv.conf
- Renaming templates for netchecker
- Add dnsPolicy: ClusterFirstWithHostNet to kube-proxy
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
7 years ago
Matthew Mosesohn
c0cae9e8a0
Merge pull request #1204 from mattymo/resolvconf-nodes
Restart kubelet when updating /etc/resolv.conf on all k8s nodes
7 years ago
Matthew Mosesohn
f8cf6b4f7c
Merge pull request #1186 from holser/resolv_conf
Set ClusterFirstWithHostNet for Pods with hostnetwork: true
7 years ago
Matthew Mosesohn
a29182a010
Restart kubelet when updating /etc/resolv.conf on all k8s nodes
7 years ago
Sergii Golovatiuk
1cfe0beac0
Set ClusterFirstWithHostNet for Pods with hostnetwork: true
In kubernetes 1.6 ClusterFirstWithHostNet was added as an option. In
accordance to it kubelet will generate resolv.conf based on own
resolv.conf. However, this doesn't create 'options', thus the proper
solution requires some investigation.
This patch sets the same resolv.conf for kubelet as host
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
7 years ago
Matthew Mosesohn
798f90c4d5
Merge pull request #1153 from mattymo/graceful_drain
Move graceful upgrade test to Ubuntu canal HA, adjust drain
7 years ago
Matthew Mosesohn
fac4334950
Merge pull request #1201 from mattymo/configurable_failure
Make any_errors_fatal configurable
7 years ago
Matthew Mosesohn
f8d44a8a88
Merge pull request #1200 from mattymo/issue1190
Fix multiline condition for k8s check certs
7 years ago
Matthew Mosesohn
1136a94a6e
Merge pull request #1191 from justindowning/patch-1
pin ansible to version 2.2.1.0
7 years ago
Matthew Mosesohn
fd20e0de90
Wait for container creation in check network test
7 years ago
Matthew Mosesohn
a1150dc334
Make any_errors_fatal configurable
Useful at scale when 1 or 2 noes my fail and you can proceed with
the majority and go back and fix the others later.
7 years ago
Matthew Mosesohn
b4d06ff8dd
Add /var/lib/cni to kubelet
Necessary to persist this directory for host-local IPAM used by Canal
Add pre-upgrade task to copy /var/lib/cni out of old kubelet.
7 years ago
Matthew Mosesohn
7581705007
Merge pull request #1185 from intelsdi-x/hostname
Use hostname module to set hostname, and do it for all Os not only Co…
7 years ago
Matthew Mosesohn
5a5707159a
Fix multiline condition for k8s check certs
Fixes #1190
7 years ago
Matthew Mosesohn
742a1681ce
Merge pull request #1166 from rogerwelin/master
add iptables --flush to reset role
7 years ago
Matthew Mosesohn
fba9b9cb65
Merge pull request #1182 from artem-panchenko/bumpCalicoPolicyControllerVersion
Bump calico policy controller version
7 years ago
Paweł Skrzyński
61b2d7548a
Use hostname module to set hostname, and do it for all Os not only CoreOS
7 years ago
Matthew Mosesohn
80828a7c77
use etcd2 when upgrading unless forced
7 years ago
Matthew Mosesohn
f5af86c9d5
Merge pull request #1194 from adidenko/fix-sync_certs
Fix multiline when condition in sync_certs task
7 years ago
Aleksandr Didenko
58acbe7caf
Fix multiline when condition in sync_certs task
Folded style in multiline 'when' condition causes error with
unexpected ident. Changing it to literal style should fix
the issue.
Closes #1190
7 years ago
Spencer Smith
355b92d7ba
Merge pull request #1170 from jlothian/atomic-docker-network
1169 - fix docker systemd unit
7 years ago
Matthew Mosesohn
d42e4f2344
Update .gitlab-ci.yml
7 years ago
Justin Downing
907e43b9d5
pin ansible to version 2.2.1.0
ansible 2.2.2.0 has an [issue]() that causes problems for kargo:
```
(env) kargo ᐅ env/bin/ansible-playbook upgrade-cluster.yml
ERROR! Unexpected Exception: 'Host' object has no attribute 'remove_group'
```
Pinning ansible to 2.2.1.0 resolved this for me.
7 years ago
Matthew Mosesohn
fb467df47c
fix etcd restart
7 years ago
Matthew Mosesohn
48beef25fa
delete master containers forcefully
7 years ago
Matthew Mosesohn
a3f568fc64
restart scheduler and controller-manager too
7 years ago
Matthew Mosesohn
57ee304260
ensure post-upgrade purge ones only once
7 years ago
Matthew Mosesohn
0794a866a7
switch debian8-canal-ha to ubuntu
7 years ago
Matthew Mosesohn
49e4d344da
move network plugins out of grouped upgrades
7 years ago
Matthew Mosesohn
21a9dea99f
move kubernetes-apps/network-plugin back to master role
7 years ago
Matthew Mosesohn
6e505c0c3f
Fix delegate tasks for kubectl and etcdctl
7 years ago
Matthew Mosesohn
e9a294fd9c
Significantly reduce memory requirements
Canal runs more pods and upgrades need a bit of extra
room to load new pods in and get the old ones out.
7 years ago
Matthew Mosesohn
44d851d5bb
Only cordon Ready nodes
7 years ago
Matthew Mosesohn
5ed03ce7f0
Use checksum of dnsmasq config to trigger updates of dnsmasq
Allows config changes made by Ansible to restart dnsmasq deployment
7 years ago
Matthew Mosesohn
c1b9660ec8
Move graceful upgrade test to debian canal HA, adjust drain
Graceful upgrades require 3 nodes
Drain now has a command timeout of 40s
7 years ago
Matthew Mosesohn
c2c334d22f
Merge pull request #1181 from holser/refactor_etcd
Refactor etcd role
7 years ago
Antoine Legrand
ed5c848473
Merge pull request #1175 from zoidbergwill/patch-1
Fix markdown of heading in README
7 years ago
Sergii Golovatiuk
f144fd1ed3
Refactor etcd role
- Run docker run from script rather than directly from systemd target
- Refactoring styling/templates
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
7 years ago
Artem Panchenko
e96557f410
Bump calico policy controller version
Latest released version of kube-policy-controller
contains important bug fixes and should be used
by default.
7 years ago
Antoine Legrand
ac96d5ccf0
Merge pull request #1176 from zoidbergwill/patch-2
Update roadmap.md
7 years ago
Matthew Mosesohn
b2af19471e
Merge pull request #1177 from rutsky/replace-nbsp
replace non-breakable space with regular space
7 years ago