1
0
mirror of https://github.com/rancher/rke.git synced 2025-04-28 03:31:24 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
Sebastiaan van Steenis
6761a1a3e1 Add restore flag to use local state 2020-08-04 13:13:43 +02: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
Sebastiaan van Steenis
e2b5828e5b
Merge pull request #1957 from psliwka/fix-restoring-backups-when-custom-certs-are-used
Fix restoring backups when custom certs are used
2020-07-07 11:25:24 +02:00
Piotr Śliwka
1dc2db8606
Fix restoring backups when custom certs are used
Before this change, `rke etcd snapshot-restore` did not support
`--custom-certs` and `--cert-dir` flags. As a result, an attempt to
restore snapshot on cluster using custom certificates resulted in fatal
error:

```
FATA[0032] CA Certificate or Key is empty
```

This commit adds `--custom-certs` and `--cert-dir` flag handling similar
to `rke up` command, resolving the issue.
2020-03-23 16:21:53 +01:00
rajashree
b0db0a64a8 Validate kube-ca cert before rotating certs 2020-03-19 11:12:45 -07:00
rmweir
4b5d4cbf6c No longer add first errors twice 2020-03-18 16:52:19 -07:00
rmweir
746e9a1c21 Skip restore if no valid certs 2020-03-14 18:58:32 -07:00
moelsayed
372393ac1b Add Secret Encryption Provider Support 2019-10-29 14:10:32 -07:00
Murali Paluru
c69d971962 print version 2019-09-03 13:13:34 -07:00
Sebastiaan van Steenis
65df510251 Improve etcd snapshot logging 2019-08-21 20:40:40 -07:00
Sebastiaan van Steenis
2b53fefbee Add parameter for s3 folder 2019-07-19 13:25:32 -07:00
kinarashah
116b47b025 rancher pass serviceoptions and addon templates to rke 2019-07-03 10:04:27 -07:00
moelsayed
38c31b9766 Add option to pass custom CA certificate for S3 backend 2019-06-20 15:00:00 -07:00
galal-hussein
7a0406c44f Check legacy state if kubeconfig doesnt exist 2019-04-23 16:43:07 -07:00
moelsayed
06b709e888 Add RemoveEtcdSnapshot 2019-04-05 13:51:08 -07:00
galal-hussein
c1372bc797 Fetch certificates and state from nodes for legacy cluster 2019-03-18 12:59:52 -07:00
moelsayed
64fed4bd9b Change RestoreEtcdSnapshot to return updated cluster information 2019-03-09 08:52:26 -08:00
moelsayed
e3d6fb4db9 Restore backup to a new etcd plane 2019-03-06 09:22:52 -08:00
moelsayed
b80785e75e Ensure certs are availaible for restore 2019-03-03 09:14:36 -08:00
moelsayed
8304b99180 Continue restore on when nodes are off 2019-03-01 09:39:14 -08:00
moelsayed
1aa6057cb3 Fix command help message 2019-02-21 10:47:46 -08:00
moelsayed
eb3dd4958f Handle legacy clusters restore 2019-02-14 17:25:52 -08:00
moelsayed
1938b88023 Update help message 2019-02-07 11:07:06 -08:00
moelsayed
285ac8d81c Automatically sync local backups 2019-01-28 15:27:58 -08:00
Guangbo Chen
9cfe5661d8 add etcd s3 uploading and downloading snapshot feature 2019-01-04 13:54:14 -08:00
galal-hussein
ff4c93e179 refactor etcd restoration process 2018-11-30 12:48:41 -08:00
galal-hussein
f3bbd81c52 Update etcd save/restore to work with new state managemnet 2018-11-27 11:09:56 -08:00
galal-hussein
11aa0caabc Fix rotate certificates with new state 2018-11-14 05:15:57 +08:00
galal-hussein
696b61679c Final fixes and cleanup for state management
Fix dind and local and etcd snapshots

add ExternalFlags and dialer options
2018-11-09 11:16:17 -08:00
galal-hussein
8b8870311b refactor the build state
remove extra cert generation for etcd in reconcile

fix reconcile and etcd add and remove cluster state with rke remove

fix add/remove issues

Fix the up command

Fix default paths for kubeconfig and rkestate
2018-11-09 11:16:17 -08:00
galal-hussein
2da8682463 Add certificate bundle backup with etcd snapshot-save 2018-06-07 16:40:41 -07:00
galal-hussein
4b4ec352ae Change backup to snapshot in etcd 2018-05-18 00:34:12 +02:00
galal-hussein
29db257875 change the etcd backup to etcd snapshot-save 2018-05-17 09:05:34 -07:00
Bill Maxwell
73e56b0fbb Added flag to ignore docker version 2018-05-16 14:01:31 -07:00
galal-hussein
a3416e6b92 Etcd Backup/restore 2018-05-09 19:39:19 +02:00