Sebastiaan van Steenis
51a6b50a84
Revert "Do not rewrite SELinux labels on volume mounts"
2021-07-29 08:59:54 +02:00
Sebastiaan van Steenis
9c711e669c
Use golangci-lint v0.40.1
2021-06-06 14:20:54 +02:00
Sebastiaan van Steenis
9757be753f
Do not rewrite SELinux labels on volume mounts
2021-05-18 22:22:40 +02:00
Sebastiaan van Steenis
a68a64c0ce
Add util command
2021-01-08 18:06:21 +01: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
fc3709507d
Reset error to nil if lister works on retries
2020-03-13 15:16:25 -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
c61d531af1
Rename ignore label and return error on controlplane failure
2020-03-04 15:20:48 -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
fd1e1289de
Return correct error if maxUnavailable hit for control
2020-02-24 17:56:02 -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
moelsayed
058f196e72
Fix worker/controlplane reconcile logic
2019-07-11 14:27:55 -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
galal-hussein
bfb5d2e875
Fix broken thread for controlplane processes
2018-07-25 10:03:01 -07:00
galal-hussein
35624c98a1
Fix healthcheck when RBAC is disabled
2018-05-01 02:25:52 +02: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
moelsayed
169ac106a5
Add GenetatePlan() and use it internally
2018-02-13 03:33:29 +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
Vincent Fiduccia
89dec3f7a2
Grammar nit
2018-01-23 17:27:08 -07: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
ed7ca110b0
Add healtcheck for services components
...
Integrate healthcheck with each service
2017-12-20 23:24:28 +02:00
moelsayed
8ea65915d3
Enable RBAC and needed addons/network plugin configuration
2017-12-16 05:41:18 +02:00
galal-hussein
ebba017126
Add services sidekick container
2017-12-09 01:25:22 +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
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
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
galal-hussein
f7649289d4
Set up kubernetes components
2017-10-29 11:45:21 +02:00