1
0
mirror of https://github.com/rancher/rke.git synced 2025-04-27 11:21:08 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
Sebastiaan van Steenis
2c270fa5ab Use node label when cloudprovider is configured
When cloud provider is configured, the node name can be set by the cloud provider. If we don't account for this, the node cannot be found when we do cluster operation (for example, node delete)
2020-09-18 10:15:38 -07:00
Darren Shepherd
ecc629f2c3 Refactor to new client-go API in k8s 1.18 2020-03-27 10:55:19 -07:00
Sebastiaan van Steenis
5f46c748c0 Standardize (re-)try logging 2020-03-21 18:34:16 +01:00
rajashree
fc3709507d Reset error to nil if lister works on retries 2020-03-13 15:16:25 -07:00
rajashree
6b25bcf3e0 Remove ignore-upgrade label from zero downtime upgrade 2020-03-10 23:36:17 -07:00
rajashree
c61d531af1 Rename ignore label and return error on controlplane failure 2020-03-04 15:20:48 -08:00
rajashree
968a399f26 Accept label to ignore nodes during upgrade
RKE does a cluster scan to find the unreachable hosts, and if that number
is same as or exceeds maxUnavailable, upgrade won't proceed.
This commit introduces a label users can provide for their nodes so they
don't get counted as unavailable and are excluded from upgrade.
This commit also includes a couple of bug fixes
2020-02-22 14:23:47 -08:00
rajashree
11678a3f98 Change RKE upgrade logic for zero downtime 2020-02-05 16:19:47 -08:00
moelsayed
9c85b5b451 Refactor taints and labels sync to improve performance 2018-10-18 09:25:27 -07:00
moelsayed
39b5ac1345 Fix resoncile missing taints 2018-08-03 11:38:02 -07:00
galal-hussein
d1e0356baf Fix sync labels and taints error 2018-06-26 13:03:10 -07:00
galal-hussein
fc48d82392 Change controlplane taint to NoSchedule 2018-06-21 21:08:36 -07:00
Aiwantaozi
14d1a44813 when the hostname is uppercase, k8s add lowercase hostname to the kubernetes.io/hostname 2018-04-16 20:06:40 +08:00
galal-hussein
8b9b68f728 Change address annotations to rke.cattle.io/ 2018-04-10 00:03:20 +02:00
galal-hussein
7c0f3f6e57 Add get node for delete and cordon 2018-04-03 00:34:15 +02:00
galal-hussein
5b848a2b45 Set node-ip and addresses annotations 2018-03-27 00:53:28 +02:00
galal-hussein
e8571898b4 Add support for AWS cloud provider 2018-03-23 20:14:11 +02:00
galal-hussein
6a2d51eefb Remove timestamp from taint 2018-03-21 23:50:34 +02:00
galal-hussein
64e4d2c01d Check if labels maps is nil 2018-03-02 03:00:05 +02:00
galal-hussein
f8f877ba27 Add nginx ingress controller and labels/taints sync 2018-02-01 23:28:31 +02:00
galal-hussein
9e29b753cb Add unschedulable kubelet on etcd nodes 2018-01-19 20:18:51 +02:00
moelsayed
30eb95c671 Warn not fatal if deleted host is not found 2017-11-30 23:16:58 +02:00
galal-hussein
c383436411 Add cluster validation and regenerate kubeapi cert 2017-11-21 21:25:25 +02:00
moelsayed
1427df6b34 Add cluster upgrade
Restructer k8s
Move getClusterCerts from SetUpAuthintication to GetClusterState
Update cluster.yaml
2017-11-16 01:55:57 +02:00