Darren Shepherd
c405e6ea1b
Remove references to rancher/types
2020-07-11 23:29:33 -07:00
Sebastiaan van Steenis
eaf643e6a2
Merge pull request #1945 from superseb/move_log_trace
...
Add logging structs/file content to trace loglevel
2020-03-05 22:19:22 +01:00
Sebastiaan van Steenis
5c7daf4fb1
Add logging structs/file content to trace loglevel
2020-03-05 19:42:05 +01:00
Luca Berneking
1baa4b2efc
Fix log output of full-cluster-state configmap name
...
This PR corrects the log output during `rke up`.
The output still contains the legacy configmap name `cluster-state`.
The new cluster state is saved in `full-cluster-state`.
2020-01-09 14:50:42 +01:00
moelsayed
372393ac1b
Add Secret Encryption Provider Support
2019-10-29 14:10:32 -07:00
Darren Shepherd
f8bac2c059
Update to new certs package since latest k8s dropped it
2019-08-19 11:02:43 -07:00
galal-hussein
7a0406c44f
Check legacy state if kubeconfig doesnt exist
2019-04-23 16:43:07 -07:00
galal-hussein
de0a1d6948
Fix fetching state with prefix path from nodes
2019-04-09 14:56:51 -07:00
galal-hussein
c1372bc797
Fetch certificates and state from nodes for legacy cluster
2019-03-18 12:59:52 -07:00
galal-hussein
2aac0e475f
Regenerate requestheader ca for legacy clusters
2019-03-06 11:58:24 -08:00
galal-hussein
9ee750ec01
Adding csr generation and custom certs
2019-01-09 11:47:53 -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
moelsayed
6da35256a8
handle upgrade cases
...
backup state to kubernetes
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
moelsayed
90fd13db65
Update main code path to use new state
2018-11-09 11:16:17 -08:00
galal-hussein
f48da22d8e
init commit for refactor state
...
add init test
use rkeconfig for init
reconcile old state file
2018-11-09 11:16:17 -08:00
moelsayed
b7d98733cf
Run state save in a worker pool
2018-10-19 17:24:02 -07:00
galal-hussein
4fb01ab69e
Fix scaling problems with cluster state deployer
2018-10-18 10:34:32 -07:00
moelsayed
496d1a46a5
Allow replacing a single contorl node
2018-10-04 13:14:28 -07:00
galal-hussein
95ba4ea61f
Fix cluster state network port check issue
2018-09-20 10:26:25 -07:00
galal-hussein
925df98ea6
Save state to the nodes backup path
2018-09-14 18:30:40 -07:00
moelsayed
2f28cb24ee
Add support for addons upgrades
2018-06-12 13:18:19 -07:00
moelsayed
a2d985ef46
Handle missing backup kube-etcd gracefully
2018-04-25 11:37:31 -07:00
moelsayed
c467584f8f
Get certificates for active etcd servers only
2018-04-22 14:32:45 -07:00
moelsayed
03673b8f22
Add support for custom WrapTransport for Kubernetes Client
2018-02-20 20:45:32 +02:00
galal-hussein
11d7aa0e16
Start cluster with only etcd nodes
2018-02-16 03:39:13 +02:00
galal-hussein
c2537737fb
Copy local connection dialer factory on update
2018-02-07 21:39:56 +02:00
galal-hussein
0ef0a17010
Add generic generation for pki objects and etcd TLS
2018-01-25 20:38:07 +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
ed7ca110b0
Add healtcheck for services components
...
Integrate healthcheck with each service
2017-12-20 23:24:28 +02:00
galal-hussein
fd47cdc80d
Add Dialer Factory
2017-12-16 07:23:58 +02:00
Alena Prokharchyk
e58d7685da
Merge pull request #128 from guangbochen/master
...
update misspelled common words
2017-12-13 09:52:25 -08:00
galal-hussein
67c4214906
Using a custom dialer for cluster hosts
2017-12-12 01:50:10 +02:00
Guangbo Chen
1cc26ee373
update misspelled common words
2017-12-09 19:53:38 +08:00
galal-hussein
42e13abb92
Rebuild local admin if the current cp host is down
2017-12-06 04:23:02 +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
galal-hussein
7af9ffbf9f
Fix rolling update bug for multi master nginx
2017-11-29 00:18:00 +02:00
galal-hussein
c383436411
Add cluster validation and regenerate kubeapi cert
2017-11-21 21:25:25 +02:00
galal-hussein
8e302c03a4
Add/Remove Cluster plane and Worker hosts
2017-11-18 14:35:10 +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
moelsayed
1427df6b34
Add cluster upgrade
...
Restructer k8s
Move getClusterCerts from SetUpAuthintication to GetClusterState
Update cluster.yaml
2017-11-16 01:55:57 +02:00
galal-hussein
40b13446a7
Use rancher/types
2017-11-13 23:28:38 +02:00
moelsayed
cc7fddb1a3
add cluster version command
2017-11-13 02:55:50 +02:00
galal-hussein
a3e0d7203b
unit tests and go lint fixes
...
Add k8s operation test
2017-11-07 23:27:30 +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