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
fbded9cdac
Update upgrades.md
Clarify that the `kube_version` environment variable is needed for the CLI "graceful upgrade". Also add and example to check that the upgrade was successful.
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
Matthew Mosesohn
6805d0ff2b
Merge pull request #1179 from kubernetes-incubator/missing_defaults
Add missing defaults
7 years ago
Antoine Legrand
6e1de9d820
Add missing defaults
7 years ago
Matthew Mosesohn
d27ca7854f
Merge pull request #1161 from VincentS/aws_deployment
Fixes for AWS Terraform Deployment
7 years ago
Vladimir Rutsky
c4e57477fb
replace non-breakable space with regular space
Non-brekable space is 0xc2 0xa0 byte sequence in UTF-8.
To find one:
$ git grep -I -P '\xc2\xa0'
To replace with regular space:
$ git grep -l -I -P '\xc2\xa0' | xargs sed -i 's/\xc2\xa0/ /g'
This commit doesn't include changes that will overlap with commit f1c59a91a1
.
7 years ago
William Martin Stewart
f1c59a91a1
Update roadmap.md
7 years ago
William Martin Stewart
74c573ef04
Update README.md
7 years ago
Matthew Mosesohn
5f082bc0e5
Merge pull request #1172 from mattymo/dnsmasq_upgrade
Use checksum of dnsmasq config to trigger updates of dnsmasq
7 years ago
Matthew Mosesohn
0e3b7127b5
Merge pull request #1167 from mattymo/dnsmasq_when_deploying_master
Change wait for dnsmasq to skip if there are no kube-nodes in play
7 years ago
Brad Beam
5d3414a40b
Setting defaults for docker log rotation
7 years ago
Roger Welin
f4638c7580
add iptables --flush to reset role
7 years ago
Matthew Mosesohn
8b0b500c89
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
04746fc4d8
Merge pull request #1163 from mattymo/kvm_setup
Add KVM hypervisor playbook to contrib
7 years ago
Matthew Mosesohn
463ef3f8bc
Merge pull request #1168 from mattymo/disable_download_delegate
Disable download_run_once and download_localhost for most CI scenarios
7 years ago
Josh Lothian
5e2f78424f
1169 - fix docker systemd unit
The docker-network environment file masks the new values
put into /etc/systemd/system/docker.service.d/flannel-options.conf
to renumber the docker0 to work correctly with flannel.
7 years ago
Matthew Mosesohn
3889c2e01c
Add KVM hypervisor playbook to contrib
Optional Ansible playbook for preparing a host for running Kargo.
This includes creation of a user account, some basic packages,
and sysctl values required to allow CNI networking on a libvirt network.
7 years ago
Matthew Mosesohn
1887e984a0
Change wait for dnsmasq to skip if there are no kube-nodes in play
Also changed unnecessary delay to a max timeout (now defaulting to 1s sleep
between tries)
Also rename play_hosts to ansible_play_hosts
7 years ago
Matthew Mosesohn
a495bbc1db
Disable download_run_once and download_localhost for most CI scenarios
This adds time to deployment, so we should only test it sparingly during
daily master.
7 years ago
Matthew Mosesohn
cd429d3654
Merge pull request #1159 from holser/etcd_backup_restore
Backup etcd
7 years ago
Matthew Mosesohn
771aef0b44
Merge pull request #1162 from holser/bump_coreos_ci
Bump CoreOS stable to latest version
7 years ago
Matthew Mosesohn
f7ef452d8a
Merge pull request #1160 from mattymo/simpler_idempotency
Make reset check on idempotency check optional
7 years ago
Matthew Mosesohn
0f64f8db90
Merge pull request #1155 from mattymo/helm
Add helm deployment
7 years ago
Sergii Golovatiuk
c04a6254b9
Backup etcd data before restarting etcd
etcd is crucial part of kubernetes cluster. Ansible restarts etcd on
reconfiguration. Backup helps operator to restore cluster manually in
case of any issues.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
7 years ago
Sergii Golovatiuk
485e17d6ed
Bump CoreOS stable to latest version
1298.6.0 fixes some sporadic network issues. It also includes docker
1.12.6 which includes several stability fixes for kubernetes.
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
7 years ago
Vincent Schwarzer
952ab03d2a
Fixes for AWS Terraform Deployment
7 years ago