Giacomo Longo
9f7c2b08a5
Idempotency fixes to roles/pre-upgrade ( #3497 )
6 years ago
Frank Ritchie
b5f4a79365
Add bin_dir to kubectl version check
6 years ago
Erwan Miran
7bec169d58
Fix ansible syntax to avoid ansible deprecation warnings ( #3512 )
* failed
* version_compare
* succeeded
* skipped
* success
* version_compare becomes version since ansible 2.5
* ansible minimal version updated in doc and spec
* last version_compare
6 years ago
Matthew Mosesohn
8becd905b8
Fixes for upgrade mode
Uses correct flag for draining with a pod selector
Verifies minimum kubectl version for compatibility
6 years ago
Matthew Mosesohn
d692737a13
Extra options for upgrade mode
Optionally do not drain nodes by setting drain_nodes to false
Optionally set a labelselector to target which pods should be drained.
6 years ago
Brad Beam
03bb729fea
Making status and detection mo betta
6 years ago
Seungkyu Ahn
e8bde03a50
Setting kubectl bin directory ( #1635 )
7 years ago
Abdelsalam Abbas
1a8e92c922
Fixing cordoning condition that cause fail for upgrading the cluster
7 years ago
Spencer Smith
56b86bbfca
inventory hostname for cordoning/uncordoning
7 years ago
Matthew Mosesohn
a3f568fc64
restart scheduler and controller-manager too
7 years ago
Matthew Mosesohn
6e505c0c3f
Fix delegate tasks for kubectl and etcdctl
7 years ago
Matthew Mosesohn
44d851d5bb
Only cordon Ready nodes
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
97ebbb9672
Add graceful upgrade process
Based on #718 introduced by rsmitty.
Includes all roles and all options to support deployment of
new hosts in case they were added to inventory.
Main difference here is that master role is evaluated first
so that master components get upgraded first.
Fixes #694
7 years ago
Spencer Smith
fbaef7e60f
specify grace period for draining
8 years ago
Spencer Smith
017a813621
first cut of an upgrade process
8 years ago