Derek Nola
12581188e8
Improved cleanup for etcd unit test ( #4537 ) ( #4608 )
...
* Improved cleanup for etcd unit test
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Chris Kim
fdb335d7d8
etcd snapshot functionality enhancements ( #4453 ) ( #4605 )
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
3 years ago
Brad Davidson
bec170bc81
go generate
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Hussein Galal
058f30de03
Fix regression with cluster reset ( #4523 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Manuel Buil
c974abd780
Allow svclb pod to enable ipv6 forwarding
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Derek Nola
03779ea486
Improved regex for double equals arguments ( #4507 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Derek Nola
f1b429f9ce
[Release-1.22] Removed value in warning about skipping flags ( #4492 )
...
* Remove skip warning
* Add warning back in, without value
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Chris Kim
a1f490df9c
[release-1.22] Add etcd extra args support for K3s ( #4469 )
...
* Add etcd extra args support for K3s
Signed-off-by: Chris Kim <oats87g@gmail.com>
* Add etcd custom argument integration test
Signed-off-by: Chris Kim <oats87g@gmail.com>
3 years ago
Derek Nola
b0cd1f6eb1
[Release-1.22] Parser improvements, allow config values to be used with etcd-snapshot ( #4475 )
...
* Match to last After keyword for parser (#4383 )
* Enabled skipping of unknown flags from config in parser
* Added new unit test, expanded existing
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Brad Davidson
cee09930cd
Increase agent's apiserver ready timeout ( #4455 )
...
Since we now start the server's agent sooner and in the background, we
may need to wait longer than 30 seconds for the apiserver to become
ready on downstream projects such as RKE2.
Since this essentially just serves as an analogue for the server's
apiReady channel, there's little danger in setting it to something
relatively high.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
38cf9a3bdf
go generate
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brian Downs
97f494a24d
[Release-1.22] All bootstrap backport ( #4448 )
...
Add ability to reconcile bootstrap data between datastore and disk (#3398 )
3 years ago
Derek Nola
586ed948dd
Improve error message when using a "K10" prefixed token ( #4180 ) ( #4430 )
...
* Add new error message with a K10 prefixed secret token
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Luther Monson
cb0918ae3c
[release-1.22] updating to new signals package in wrangler ( #4422 )
...
* updating to new signals package in wrangler
Signed-off-by: Luther Monson <luther.monson@gmail.com>
3 years ago
Brad Davidson
e1883d0537
Bump klipper-lb image for arm fix
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
5eb13b6ba6
Fix log/reap reexec
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
259ceb452c
Fix other uses of NewForConfigOrDie in contexts where we could return err
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 3da1bb3af2
)
3 years ago
Brad Davidson
cc23fce0a7
Watch the local Node object instead of get/sleep looping
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 5acd0b9008
)
3 years ago
Brad Davidson
6349aed8e8
Block scheduler startup on untainted node when using embedded CCM
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 3fe460d080
)
3 years ago
Brad Davidson
46eea2f10a
Revert "Add ability to reconcile bootstrap data between datastore and disk ( #3398 )"
...
This reverts commits
9a4ca5978b
c9f6fa0be0
07f844cf95
48355dce10
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brian Downs
9a4ca5978b
reset buffer after use ( #4279 ) ( #4329 )
3 years ago
Brian Downs
c9f6fa0be0
remove integration test
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
3 years ago
Brian Downs
07f844cf95
Copy old bootstrap buffer data for use during migration ( #4215 )
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
3 years ago
Brian Downs
48355dce10
Add ability to reconcile bootstrap data between datastore and disk ( #3398 )
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
3 years ago
galal-hussein
84e9b829e0
Update peer address when running cluster-reset
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Derek Nola
f98934980d
Added configuration input to etcd-snapshot ( #4280 ) ( #4281 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Brad Davidson
971854c15b
Refactor log and reaper exec to omit MAINPID
...
Using MAINPID breaks systemd's exit detection, as it stops watching the
original pid, but is unable to watch the new pid as it is not a child
of systemd itself. The best we can do is just notify when execing the child
process.
We also need to consolidate forking into a sigle place so that we don't
end up with multiple levels of child processes if both redirecting log
output and reaping child processes.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit dc18ef2e51
)
3 years ago
Brad Davidson
3988edef25
Add containerd ready channel to delay etcd node join
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 88178ae65e
)
3 years ago
Manuel Buil
0d6ccf4199
Merge pull request #4222 from manuelbuil/race_fix_1.22
...
[release-1.22] Race fix 1.22
3 years ago
Brian Downs
7c78e1c802
[Release-1.22] - Add etcd s3 timeout ( #4207 ) ( #4230 )
3 years ago
Manuel Buil
c10a0a2163
Fix race condition in cloud provider
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Hussein Galal
6193b1af97
Display cluster tls error only in debug mode ( #4200 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Brian Downs
737f722315
set transport to skip verify if se skip flag passed ( #4102 ) ( #4103 )
3 years ago
Derek Nola
dd4b36e034
Add "etcd-" prefix to etcd-snapshot commands as aliases ( #4161 ) ( #4170 )
...
* Add "etcd-" prefix to etcd-snapshot commands as alias
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Manuel Buil
cedcece9cc
Dual-stack support LB controller
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Brad Davidson
bdd597fb9e
Don't evacuate the root cgroup when rootless
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
a09bcba540
Properly handle operation as init process
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Manuel Buil
44013ae899
Enable the inheritance of settings for ipv6
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Brad Davidson
28be0de4e8
Revert "Use the newer klipper-lb image"
...
This reverts commit 1d21491094
.
3 years ago
Brad Davidson
64b502e92c
Disable automounting service account token in servicelb pods
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Hussein Galal
7826407a2e
Make sure there are no duplicates in etcd member list ( #4025 )
...
* Make sure there are no duplicates in etcd member list
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fix node names with hyphens
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* use full server name for etcd node name
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Manuel Buil
1d21491094
Use the newer klipper-lb image
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Brad Davidson
753e11ee3c
Enable JobTrackingWithFinalizers FeatureGate
...
Works around issue with Job controller not tracking job pods that
are in CrashloopBackoff during upgrade from 1.21 to 1.22.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Derek Nola
eda65b19d9
Remove expiremental from cluster commands ( #4024 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Joe Kralicky
debb508643
Nvidia container runtime discovery in containerd config template ( #3890 )
...
* Update the default containerd config template with support for adding extra container runtimes. Add logic to discover nvidia container runtimes installed via the the gpu operator or package manager.
Signed-off-by: Joe Kralicky <joe.kralicky@suse.com>
3 years ago
Brad Davidson
086ca8ba6a
Fix premature etcd shutdown when joining an existing cluster
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Manuel Buil
60cd86bc42
Merge pull request #3906 from manuelbuil/dual-stack
...
Add dual-stack support on flannel
3 years ago
Brad Davidson
85e11c47d1
Add StargzSupported stub for Windows
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Chris Kim
acf9036b63
No-op when etcd member was already removed and use existing name for etcd controller ( #4014 )
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
3 years ago
Manuel Buil
9fcd79baae
Add tests to the dual-stack PR and enable dual-stack with flannel backend
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago