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
Sebastiaan van Steenis
0cea67e9ff
Do not rewrite SELinux labels on volume mounts
2021-11-19 22:39:56 +01:00
Sebastiaan van Steenis
9c711e669c
Use golangci-lint v0.40.1
2021-06-06 14:20:54 +02: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
Darren Shepherd
c405e6ea1b
Remove references to rancher/types
2020-07-11 23:29:33 -07:00
rajashree
1ecf6effbf
Reconcile workerplane for NotReady control hosts
2020-03-20 13:37:37 -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
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
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
11678a3f98
Change RKE upgrade logic for zero downtime
2020-02-05 16:19:47 -08:00
Dax McDonald
ad678b6a32
Remove dead code
2019-10-04 15:02:14 -07:00
galal-hussein
82fa8d6305
Add restart components to custom certs
2019-01-14 11:51:11 -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
moelsayed
39b5ac1345
Fix resoncile missing taints
2018-08-03 11:38:02 -07:00
galal-hussein
fc48d82392
Change controlplane taint to NoSchedule
2018-06-21 21:08:36 -07:00
galal-hussein
3c906a9ed2
Make control node only unschedulable
2018-05-31 15:43:30 -07:00
galal-hussein
825bbbdf71
Add prefix path to services and generate plan
2018-04-12 00:54:47 +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
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
galal-hussein
f8f877ba27
Add nginx ingress controller and labels/taints sync
2018-02-01 23:28:31 +02:00
moelsayed
4159d7f156
Pass private registries list through the function calls
2018-01-31 19:50:55 +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
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
828f6e44f5
Add concurrency to worker deployments
2018-01-02 23:54:20 +02:00
galal-hussein
ed7ca110b0
Add healtcheck for services components
...
Integrate healthcheck with each service
2017-12-20 23:24:28 +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
Darren Shepherd
df7e40188e
Refactor types
2017-12-05 10:29:50 -07: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
moelsayed
7b405446bb
add multiple role labels to nodes
2017-11-30 03:56:29 +02:00
moelsayed
9807ce60df
allow single node deployments
2017-11-30 03:03:01 +02:00
moelsayed
07a1441826
Command overhaul
...
remove cluster command
merge upgrade and up commands
rename down command
2017-11-28 21:17:57 +02:00
galal-hussein
892e9ab5d9
Cluster Down/Remove
...
Reverse order and add force flag
2017-11-21 01:23:18 +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
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
galal-hussein
3cfe3d7ea8
Use RKE cluster controller structures
2017-11-09 21:50:49 +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