1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-30 22:44:50 +00:00
Commit Graph

212 Commits

Author SHA1 Message Date
Kinara Shah
bd6cf028b0 fix node lookup for external aws 2024-01-23 14:22:48 -07:00
Kinara Shah
1ce3e2aa50 add logic for external aws cloud provider 2024-01-23 14:22:48 -07:00
Jiaqi Luo
7bc900dae9
Merge pull request #3329 from rancher/replaceDeprecatedIOutil 2023-08-07 14:18:04 -07:00
Manuel Buil
f923a49d9d Replace deprecated io/ioutil
Signed-off-by: Manuel Buil <mbuil@suse.com>
2023-08-04 15:24:27 +02:00
Sebastiaan van Steenis
525f2de4ca
Use correct container name in log 2023-08-03 11:41:55 +02:00
Jake Hyde
8aa6283dcd
Added retry for snapshot and s3 upload, verify etcd running on host (#2952)
Added retry for snapshot and s3 upload, verify etcd running on host

Added option to quiet noisy container logs
2022-06-23 18:30:58 -04:00
Kinara Shah
f7b293b7ae update scheduler healthcheck port for k8s 1.23 2022-03-03 10:25:05 -08:00
Sebastiaan van Steenis
0cea67e9ff Do not rewrite SELinux labels on volume mounts 2021-11-19 22:39:56 +01:00
Sebastiaan van Steenis
69dbe30b46
Merge pull request #2729 from superseb/v13_v122
[release/v1.3] Add compatibility with k8s v1.22
2021-11-11 17:55:35 +01:00
Kinara Shah
594296bb10 update etcd client to use both v3 and v2
v3 for >=1.22, v2 otherwise
2021-11-08 09:50:17 -08:00
Sebastiaan van Steenis
546a61b24a Add compatibility with k8s v1.22 2021-11-04 16:50:58 +01:00
Sebastiaan van Steenis
51a6b50a84
Revert "Do not rewrite SELinux labels on volume mounts" 2021-07-29 08:59:54 +02:00
Sebastiaan van Steenis
9c711e669c Use golangci-lint v0.40.1 2021-06-06 14:20:54 +02:00
Sebastiaan van Steenis
9757be753f Do not rewrite SELinux labels on volume mounts 2021-05-18 22:22:40 +02:00
rawmind0
313f3635a6 Base64 encoding etcd backup S3 accessKey and secretKey and passing them as env variables to rke-tools 2021-04-06 19:40:27 +02:00
Sebastiaan van Steenis
a68a64c0ce Add util command 2021-01-08 18:06:21 +01:00
Daishan Peng
91aed199f0
Merge pull request #2371 from ibuildthecloud/master
Update to k8s v1.20
2021-01-06 12:03:13 -07:00
Sebastiaan van Steenis
c8cc8194fb controlplane typo 2020-12-29 18:47:09 +01:00
Darren Shepherd
e70f5ca388 DeleteLocalData is now DeleteEmptyDirData in k8s v1.20 2020-12-08 16:32:07 -07:00
Jacob Payne
04ea70ee3b updated NodeUpgradeStrategy.Drain to use pointer 2020-10-26 09:59:49 -07:00
Sebastiaan van Steenis
422dfff0fd Check etcd cluster health after member delete 2020-09-29 13:53:45 +02:00
Sebastiaan van Steenis
2bced88bad Create loglink for etcd-rolling-snapshots 2020-09-18 10:17:11 -07:00
Sebastiaan van Steenis
1883a4c3bf
Merge pull request #2152 from superseb/snapshot_include_state
Able to include and extract state file in snapshot
2020-07-24 20:24:28 +02:00
Sebastiaan van Steenis
9bca29befb Able to include and extract state file in snapshot 2020-07-21 11:09:37 +02:00
Darren Shepherd
c405e6ea1b Remove references to rancher/types 2020-07-11 23:29:33 -07:00
rajashree
8d034e13e9 Check ignoreDaemonsets for nil to avoid panic 2020-06-17 11:23:36 -07:00
rajashree
fb17836063 Check drainInput for nil to avoid panic 2020-06-16 15:51:54 -07:00
rawmind0
8ff29b617f Updated api bool fields with default=true to *bool. Go files 2020-06-02 20:15:53 +02:00
Sebastiaan van Steenis
0c063587ec Dont relabel volumes on upstream Docker & SELinux 2020-05-19 21:50:24 +02:00
Sebastiaan van Steenis
4adf2c9b68
Merge pull request #1980 from superseb/re_try_logging
Standardize (re-)try logging
2020-03-23 13:30:37 +01:00
Sebastiaan van Steenis
5f46c748c0 Standardize (re-)try logging 2020-03-21 18:34:16 +01:00
rajashree
1ecf6effbf Reconcile workerplane for NotReady control hosts 2020-03-20 13:37:37 -07: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
bb6873ce48 Addresses following issues:
1. Compare maxUnavailable with powered off hosts before attempting to reconcile
NotReady hosts
2. Include powered off hosts as failed hosts for controlplane upgrade to return error
3. Change coredns upgrade strategy. With addons changes it was changed to have the k8s
default value for a deployment of 25% maxUnavailable and maxSurge. This commit changes it
back to maxUnavailable of 1 to avoid dns addon upgrade issues
2020-03-07 14:22:35 -08:00
rajashree
c61d531af1 Rename ignore label and return error on controlplane failure 2020-03-04 15:20:48 -08:00
rajashree
115c11b864 Fix maxunavailable reset 2020-02-28 13:56:19 -08:00
rajashree
e27a05f8b1 Attempt upgrade on NotReady hosts 2020-02-26 14:14:42 -08:00
rajashree
fd1e1289de Return correct error if maxUnavailable hit for control 2020-02-24 17:56:02 -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 Mandaogane
92714e5523
Merge pull request #1800 from mrajashree/workers_upgrade
Change RKE upgrade logic for zero downtime
2020-02-06 11:03:29 -08:00
rajashree
11678a3f98 Change RKE upgrade logic for zero downtime 2020-02-05 16:19:47 -08:00
Sebastiaan van Steenis
23e98603bd Determine etcd s3 snapshots by s3 config presence 2020-01-20 18:43:35 +01:00
Alena Prokharchyk
fb90d1429c Permissions fix for etcd restore with custom uid/gid 2019-12-06 10:22:28 -08:00
Alena Prokharchyk
2bc68c7118 Correct system image for etcd snapshot removal
when removal is executed as a part of restoration
2019-12-03 15:58:31 -08:00
moelsayed
2006a61712 Move snapshot remove logic to rke-tools 2019-11-11 16:03:44 -08:00
Alena Prokharchyk
fa9410faeb Return proper error in etcd healthcheck 2019-11-04 15:10:05 -08:00
Sebastiaan van Steenis
adc5941fd9 Add per node kubelet server certificate 2019-10-31 15:56:44 -07:00
moelsayed
372393ac1b Add Secret Encryption Provider Support 2019-10-29 14:10:32 -07:00
Dax McDonald
ad678b6a32 Remove dead code 2019-10-04 15:02:14 -07:00