1
0
mirror of https://github.com/rancher/rke.git synced 2025-06-28 00:09:18 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Sebastiaan van Steenis
d6b29c9ccc Do not fetch kube-admin certificate from host(s) 2019-09-06 13:31:40 -07:00
galal-hussein
798632b3a4 Handle missing request header ca in rotate certificate 2019-08-29 13:42:47 -07:00
Frank Mai
277797df0f Support to generate Windows worker plan
- Put Windows worker plan generating back to reduce the changing from
Windows on rancher/rancher
- Prepare for rke bootstraps Windows cluster

**Issue:**
https://github.com/rancher/rancher/issues/16460
2019-08-21 20:50:31 -07:00
Darren Shepherd
f8bac2c059 Update to new certs package since latest k8s dropped it 2019-08-19 11:02:43 -07:00
Sebastiaan van Steenis
3f94e86706 Revert "Add per node kubelet server certificate"
This reverts commit b860e634db.
2019-08-08 09:49:47 -07:00
Sebastiaan van Steenis
b860e634db Add per node kubelet server certificate 2019-07-31 14:54:43 -07:00
moelsayed
688d4aedd7 support etcd custom uid/gid 2019-07-29 17:24:16 -07:00
Sebastiaan van Steenis
173669c8a5 Add retry logic to Docker interactions 2019-06-26 12:15:32 -07:00
galal-hussein
c1372bc797 Fetch certificates and state from nodes for legacy cluster 2019-03-18 12:59:52 -07:00
moelsayed
e3d6fb4db9 Restore backup to a new etcd plane 2019-03-06 09:22:52 -08:00
galal-hussein
556e5bb678 Avoid creating dangling volumes with rke tools 2019-01-21 12:38:58 -08:00
galal-hussein
82fa8d6305 Add restart components to custom certs 2019-01-14 11:51:11 -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
3551e6e4b6 Add Rotate certificates command to rke 2018-10-31 12:08:31 -07:00
moelsayed
dd4faabd6c handle new not found err in docker 2018-10-26 21:46:20 -07:00
galal-hussein
925df98ea6 Save state to the nodes backup path 2018-09-14 18:30:40 -07:00
galal-hussein
8269c3f301 Add metrics-server addon deployment 2018-07-17 16:51:59 -07:00
orangedeng
9f7a37845e Add support for API aggregation layer
Add API server parameters
`requestheader-client-ca-file`,
`requestheader-allowed-names`,
`proxy-client-key-file` and
`proxy-client-cert-file`.
After we added this parameters into API server, the API aggregation
server will be supported when it is deployed in rke cluster.
2018-07-17 16:51:59 -07:00
galal-hussein
a3416e6b92 Etcd Backup/restore 2018-05-09 19:39:19 +02:00
moelsayed
a2d985ef46 Handle missing backup kube-etcd gracefully 2018-04-25 11:37:31 -07:00
Darren Shepherd
4273d1d874 Use new rke-tools image 2018-04-19 08:53:55 -07:00
galal-hussein
825bbbdf71 Add prefix path to services and generate plan 2018-04-12 00:54:47 +02:00
galal-hussein
11d7aa0e16 Start cluster with only etcd nodes 2018-02-16 03:39:13 +02:00
galal-hussein
59182cee62 [RKE Refactor] Generate cluster and node certs 2018-02-08 20:15:36 +02:00
moelsayed
8ba6413a44 Refactor certificates deployment 2018-02-01 23:57:15 +02:00
moelsayed
4159d7f156 Pass private registries list through the function calls 2018-01-31 19:50:55 +02:00
galal-hussein
0ef0a17010 Add generic generation for pki objects and etcd TLS 2018-01-25 20:38:07 +02:00
moelsayed
e3302f3009 Fix backup cert issue on docker version > 17.06 2018-01-20 03:18:30 +02:00
moelsayed
4c08db1d53 recoverable provisioning 2018-01-13 05:57:28 +02:00
Darren Shepherd
d8dd29765f Add context.Context to everything and also make logging pluggable 2018-01-09 15:18:01 -07:00
Sebastiaan van Steenis
2ab6973365 Check image locally before pull 2017-12-13 21:01:45 +01:00
Alena Prokharchyk
ead2709100
Merge pull request #126 from galal-hussein/warning_on_remove
Add replace fatal with warning when can't remove local kubeconfig
2017-12-08 23:48:15 -06:00
galal-hussein
0bd70fcdeb Add replace fatal with warning when can't remove local kubeconfig 2017-12-09 07:42:42 +02:00
galal-hussein
ebba017126 Add services sidekick container 2017-12-09 01:25:22 +02:00
moelsayed
0ee002b2cf Add user-configurable images
Refactor configuration defaults
 Add comments to config
 Add configurable utility images
 Add configurable network plugin images
 Add configurable kubedns images
2017-12-05 20:34:54 +02:00
galal-hussein
123b10182b Add information about saving local kubeconfig 2017-12-04 20:49:18 +02:00
galal-hussein
d1f78f0b40 Refactor reconcilation
Add role based add/delete for services

Use pointers for hosts

Consistent log format
2017-12-02 20:37:04 +02:00
Sebastiaan van Steenis
3c232c7579 Remove invalid RestartPolicy 2017-11-30 11:08:00 +01:00
moelsayed
63c7d5c5c1 remove kubeconfig as part of cluster remove 2017-11-30 02:49:06 +02:00
galal-hussein
41c48877ba Structure and config changes 2017-11-28 23:55:43 +02:00
galal-hussein
703a4fd812 Add HA
Add relative path for local kube config

Add default cluster yaml config name
2017-11-16 03:41:22 +02:00
galal-hussein
37b6c8a65e Update rancher types 2017-11-14 20:11:21 +02:00
galal-hussein
40b13446a7 Use rancher/types 2017-11-13 23:28:38 +02:00
moelsayed
33b1c47a43 Refactor PKI ENV 2017-11-10 19:59:52 +02:00
moelsayed
d58fc84de9 Refactor kubectl
Export pki utlitity functions
2017-11-10 04:36:22 +02:00
galal-hussein
9974d53e57 Use Cluster structure
Use separate cluster package

Save cluster state and certs to kubernetes

Handle Remove and sync cluster state/crts

Reuse kubernetes client and combine image and version

Separate building functions and small fixes
2017-11-06 19:40:20 +02:00
galal-hussein
1bb4ab98c3 Deploy kube config file locally for admin 2017-11-06 19:40:19 +02:00
galal-hussein
ad34392a3c Add default cluster config file and return service container pointer
Add more generic functions to go services

Add x509 authentication
2017-11-06 19:40:15 +02:00