1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-15 05:24:32 +00:00
Commit Graph

193 Commits

Author SHA1 Message Date
Sebastiaan van Steenis
173669c8a5 Add retry logic to Docker interactions 2019-06-26 12:15:32 -07:00
moelsayed
2c907f9f21 rename EndpointCA 2019-06-25 14:17:53 -07:00
moelsayed
38c31b9766 Add option to pass custom CA certificate for S3 backend 2019-06-20 15:00:00 -07:00
Sebastiaan van Steenis
867c0f44e6 Add zip extension to compressed snapshot 2019-06-12 10:06:02 -07:00
kinarashah
1a1080a234 always use DefaultRKETools for etcd snapshot 2019-06-11 12:52:25 -07:00
Sebastiaan van Steenis
bc09408581 Add etcd snapshot compression 2019-06-07 15:17:22 -07:00
Sebastiaan van Steenis
28d907281f Dont restart s3 snapshot download container 2019-06-05 13:40:29 -07:00
Erik Wilson
581e3389c4 Reorder etcd servers list 2019-05-28 09:50:29 -07:00
galal-hussein
c89198b9ff Add :z to backup volume bind mounts 2019-04-08 09:53:50 -07:00
moelsayed
06b709e888 Add RemoveEtcdSnapshot 2019-04-05 13:51:08 -07:00
moelsayed
066f9300a8 Wait for backup server to start before status check 2019-03-16 18:49:25 -07:00
moelsayed
bb2b5a4f36 Clean old containers before etcdbackup operations 2019-03-15 13:28:00 -07:00
moelsayed
7f79c62953 Don't restart one-time backup container 2019-03-15 11:57:35 -07:00
moelsayed
5d1084ad80 Don't disable all backups based on backup flag 2019-03-11 19:04:56 -07:00
galal-hussein
65cda9f50d Use internal address with local backup download 2019-03-09 15:52:09 -08:00
moelsayed
1e34a7c5fa Add BackupConfig Enabled flag 2019-03-08 14:22:10 -08:00
moelsayed
05d19122ac Handle missing backups 2019-02-27 14:46:25 -08:00
moelsayed
f8b6131dd2 Use supported rke-tools for backup and restore in legacy clusters 2019-02-15 14:25:04 -08:00
moelsayed
285ac8d81c Automatically sync local backups 2019-01-28 15:27:58 -08:00
galal-hussein
860058e878 Check if etcd is healthy before running kubeapi 2019-01-25 16:00:04 -08:00
moelsayed
c229a0637d Fix etcdbackup error reporting 2019-01-24 15:03:31 -08:00
moelsayed
dad34d4da2 Fix s3 backup download issues 2019-01-22 14:32:57 -08:00
moelsayed
cf037b1ed6 Allow local backup for rancher 2019-01-15 10:07:18 -08:00
galal-hussein
82fa8d6305 Add restart components to custom certs 2019-01-14 11:51:11 -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
1295f64547 Add wait time after starting etcd snapshot container 2018-11-13 10:37:06 +08:00
galal-hussein
3480a020fc Remove etcd snapshot when option is disabled 2018-11-09 15:40:00 -08:00
galal-hussein
631c0725f4 Fix broken etcd rolling snapshot 2018-11-08 13:14:15 -08:00
galal-hussein
f0572f48b4 Fix etcd snapshot 2018-11-07 12:43:25 -08:00
galal-hussein
3551e6e4b6 Add Rotate certificates command to rke 2018-10-31 12:08:31 -07:00
moelsayed
dd4d19a945 Fix remove performance issues 2018-10-24 10:24:14 -07:00
moelsayed
90c426d73e Switch all concurrent tasks to use worker pool 2018-10-18 13:24:59 -07:00
galal-hussein
cf76401978 Change the etcd member add steps 2018-10-18 09:25:59 -07:00
galal-hussein
0dbe06d631 Revert back to 5 seconds for stop timeout
Add init wait time for etcd after reload
2018-10-01 14:28:16 -07:00
galal-hussein
2bd4577b19 Add default heartbeat and election timeout to etcd
Reload the etcd cluster in the right order
2018-09-25 18:24:52 -07:00
galal-hussein
8a62703b34 Add full path to etcd snapshots to fix windows restore 2018-09-05 13:16:04 -07:00
MaiWJ
bcb6e13618 Extend rke to tolerate the Windows host
1. Support to configure Flannel as "host-gw" backend
2. Define the network component yaml and ingress
   controller yaml only schedule to non-Windows node
3. Support to configure Docker container's port publishing
2018-08-26 18:09:21 -07:00
Denise
16e63092f9
Merge pull request #836 from moelsayed/change_entrypoint
Fix sidekick upgrade issue and change services entry point
2018-08-03 11:38:45 -07:00
moelsayed
39b5ac1345 Fix resoncile missing taints 2018-08-03 11:38:02 -07:00
moelsayed
010a7977ff Change entrypoint to fix multiple mount problem 2018-08-02 02:33:46 +02:00
moelsayed
a1a9ba531b Fix sidekick upgrade 2018-08-02 02:33:29 +02:00
galal-hussein
bfb5d2e875 Fix broken thread for controlplane processes 2018-07-25 10:03:01 -07:00
galal-hussein
b71fd3ba35 Fix local port check 2018-07-23 09:10:06 -07:00
galal-hussein
3ce50d28d3 Add etcd snapshot fix and more log messages to certificate bundle
Add function to collect stdout and stderr logs from containers
2018-07-20 14:09:29 -07:00
galal-hussein
247f4c9450 Add dind mode to rke 2018-07-10 15:51:17 -07:00
moelsayed
48faa8bf35 Remove container dead log links on cluster remove 2018-06-29 11:32:08 -07:00
moelsayed
39e846442b Fix container log location for ros 2018-06-29 10:49:49 -07:00
galal-hussein
fc48d82392 Change controlplane taint to NoSchedule 2018-06-21 21:08:36 -07:00
galal-hussein
2da8682463 Add certificate bundle backup with etcd snapshot-save 2018-06-07 16:40:41 -07:00
galal-hussein
3c906a9ed2 Make control node only unschedulable 2018-05-31 15:43:30 -07:00
Sebastiaan van Steenis
aabce06714 Get latest logline if healthcheck fails 2018-05-29 15:27:22 -07:00
galal-hussein
4b4ec352ae Change backup to snapshot in etcd 2018-05-18 00:34:12 +02:00
galal-hussein
35d246e69d WIP - Add endpoint to rolling-backup and etcdctl commands 2018-05-16 14:01:54 -07:00
galal-hussein
db3bda1191 fix rhel and centos regression 2018-05-15 14:08:29 -07:00
galal-hussein
a3416e6b92 Etcd Backup/restore 2018-05-09 19:39:19 +02:00
moelsayed
d42ead8e11 Add container name labels 2018-05-08 19:47:12 +02:00
galal-hussein
35624c98a1 Fix healthcheck when RBAC is disabled 2018-05-01 02:25:52 +02:00
Sebastiaan van Steenis
1c673cde37 Typos 2018-04-24 13:42:52 -07:00
moelsayed
0069872976 Fix etcd client endpoint address 2018-04-20 15:46:32 -07:00
galal-hussein
825bbbdf71 Add prefix path to services and generate plan 2018-04-12 00:54:47 +02:00
Darren Shepherd
a18ffa69c9 Fix capitalization 2018-03-31 04:00:50 -07:00
David Lewis
5d447124ef Show host in error message for service unhealthy 2018-03-30 08:38:39 -07:00
moelsayed
d071a58c05 Change log filename format 2018-03-23 02:03:07 +02:00
moelsayed
ef7b997e2a Log RKE components to a specific location 2018-03-21 22:29:09 +02:00
galal-hussein
6e7e18ad1e Update workers only option
Disable port check
2018-03-20 15:17:35 +02:00
galal-hussein
fcefbf7016 Secure kubelet port access 2018-03-12 21:04:28 +02:00
galal-hussein
ce986afab3 Fix get etcd client issue 2018-03-07 00:42:04 +02:00
Darren Shepherd
a90b672fe4 Rename processes names to names of binaries 2018-02-26 19:50:19 -07:00
Darren Shepherd
8387af26f2 Make getProcessConfig public 2018-02-26 16:31:34 -07:00
galal-hussein
5a35f47dc5 Add remove etcd idempotency 2018-02-22 19:49:18 +02:00
galal-hussein
c2c1804500 External etcd 2018-02-14 22:58:35 +02:00
moelsayed
9128f2b4c8 Remove broken tests 2018-02-13 03:33:46 +02:00
moelsayed
169ac106a5 Add GenetatePlan() and use it internally 2018-02-13 03:33:29 +02:00
galal-hussein
59182cee62 [RKE Refactor] Generate cluster and node certs 2018-02-08 20:15:36 +02:00
Alena Prokharchyk
c19059200b
Merge pull request #268 from galal-hussein/atomic_centos
Add z option to volume binds
2018-02-06 16:22:05 -08:00
galal-hussein
d1247855c9 Fix rolling upgrade issue for nginx proxy 2018-02-07 01:07:09 +02:00
galal-hussein
5f5b1a51a9 Add kubelet fail-swap-on option 2018-02-03 04:33:18 +02:00
galal-hussein
cd1e5cf610 Custom dialers and remove local fixes 2018-02-03 03:04:53 +02:00
Alena Prokharchyk
9f75314118
Merge pull request #299 from moelsayed/parallel_control_plane
Deploy control plane in parallel
2018-02-01 14:11:47 -08:00
galal-hussein
f8f877ba27 Add nginx ingress controller and labels/taints sync 2018-02-01 23:28:31 +02:00
moelsayed
85b45d4dd1 Deploy control plane in parallel 2018-02-01 21:12:54 +02:00
moelsayed
4159d7f156 Pass private registries list through the function calls 2018-01-31 19:50:55 +02:00
galal-hussein
aed28bb44e Add z option to volume binds 2018-01-25 23:36:20 +02:00
galal-hussein
0ef0a17010 Add generic generation for pki objects and etcd TLS 2018-01-25 20:38:07 +02:00
galal-hussein
efd9116b80 remove deleted etcd member from k8s and update kube-api with new list 2018-01-24 05:19:44 +02:00
Vincent Fiduccia
89dec3f7a2 Grammar nit 2018-01-23 17:27:08 -07:00
galal-hussein
9e29b753cb Add unschedulable kubelet on etcd nodes 2018-01-19 20:18:51 +02:00
galal-hussein
d7ffdc04b5 Start containers if stopped and use net=host for etcd 2018-01-15 13:22:20 -08:00
Darren Shepherd
9e5d469299
Merge pull request #180 from galal-hussein/local_rke
Add local option to deploy/remove kubernetes on local machine
2018-01-12 22:16:15 +00:00
Alena Prokharchyk
d916bd40a4
Merge pull request #213 from galal-hussein/longer_healthchecks
Increase healthcheck timeout to 50 seconds per service
2018-01-12 13:36:16 -08:00
galal-hussein
8685523038 Add local option to deploy/remove kubernetes on local machine
Remove insecure port from kube-api

Use cluster.yml config

Pass config dir to cluster up/remove
2018-01-12 20:46:09 +02:00
Darren Shepherd
9d7d4fb262
Merge pull request #193 from yasker/work
Add host bindmount for `/usr/libexec/kubernetes/kubelet-plugins`
2018-01-12 14:30:05 +00:00
galal-hussein
67774f7e30 Handle add/remove for etcd nodes
Handle adding more than one etcd at once
2018-01-12 03:57:37 +02:00
Darren Shepherd
d8dd29765f Add context.Context to everything and also make logging pluggable 2018-01-09 15:18:01 -07:00
galal-hussein
b633f45656 Increase healthcheck timeout to 50 seconds per service 2018-01-09 23:09:41 +02:00
Sheng Yang
2242cda0f7 Add host bindmount for /usr/libexec/kubernetes/kubelet-plugins
In order to support Flexvolume plugins on the host.
2018-01-02 17:21:34 -08:00
galal-hussein
828f6e44f5 Add concurrency to worker deployments 2018-01-02 23:54:20 +02:00
Alena Prokharchyk
e6c3f50a4d
Merge pull request #170 from galal-hussein/healthcheck_validation
Add healthcheck for services components
2017-12-20 13:32:00 -08:00
galal-hussein
ed7ca110b0 Add healtcheck for services components
Integrate healthcheck with each service
2017-12-20 23:24:28 +02:00