Hussein Galal
d71b335871
Fix snapshot restoration on fresh nodes ( #4737 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Brian Downs
bf4e037fcf
Resolve Bootstrap Migration Edge Case ( #4730 )
3 years ago
Chris Wayne
2f3bfc27c0
Add in docs/adr to ensure we capture decisions properly during design calls ( #4707 )
...
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
3 years ago
Brian Downs
a6fe2c0bc5
Resolve restore bootstrap ( #4704 )
3 years ago
Brad Davidson
a70487d5ae
Update wharfie usage in windows code path
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Hussein Galal
3985fd0e26
[master] Add validation to certificate rotation ( #4692 )
...
* Add validation to certificate rotation
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* Add validation to certificate rotation
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Brad Davidson
e8a30a87c8
Bump runc to v1.0.3
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Derek Nola
eb068da7f3
Add `SKIP_AIRGAP` enviroment variable for make ( #4688 )
...
* Add SKIP_AIRGAP build flag
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Manuel Buil
1e0696628e
Merge pull request #4581 from manuelbuil/checking-HA-parameters
...
Verify new control plane nodes joining the cluster share the same config as cluster members
3 years ago
Alexey Medvedchikov
8f389ab030
Include node-external-ip in serving-kubelet.crt SANs ( #4620 )
...
* Include node-external-ip in serving-kubelet.crt SANs
Signed-off-by: Alexey Medvedchikov <alexeymedvedchikov@improbable.io>
3 years ago
Derek Nola
bcb662926d
Secrets-encryption rotation ( #4372 )
...
* Regular CLI framework for encrypt commands
* New secrets-encryption feature
* New integration test
* fixes for flaky integration test CI
* Fix to bootstrap on restart of existing nodes
* Consolidate event recorder
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Manuel Buil
1b3187ea07
Check HA network parameters
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Brad Davidson
7d3447ceff
Bump wharfie to v0.5.1 and use shared decompression code
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
05d43278e2
bump kine to v0.8.1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
3b6a3fe905
Update dynamiclistener
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Derek Nola
a8f7e9f7e8
Nighlty automation vagrant rework ( #4574 )
...
* Initial vagrantfile for createcluster test
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Chris Kim
a0208058ae
Bump stable to v1.21.7+k3s1 ( #4636 )
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
3 years ago
Hussein Galal
77fd3e99ec
Add cert rotation command ( #4495 )
...
* Add cert rotation command
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* add function to check for dynamic listener file
Signed-off-by: Brian Downs <brian.downs@gmail.com>
* Add dynamiclistener cert rotation support
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fixes to the cert rotation
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fix ci tests
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fixes to certificate rotation command
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* more fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
Co-authored-by: Brian Downs <brian.downs@gmail.com>
3 years ago
Chris Wayne
1e6e4db2bc
Update maintainers list ( #4622 )
...
* Update maintainers list
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
Co-authored-by: Brian Downs <brian.downs@gmail.com>
3 years ago
Manuel Buil
8141a933b0
Merge pull request #4550 from manuelbuil/improve_flannel_logging
...
Improve flannel code and logging
3 years ago
Derek Nola
d05c334a78
Improved cleanup for etcd unit test ( #4537 )
...
* Improved cleanup for etcd unit test
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Chris Kim
ae4a1a144a
etcd snapshot functionality enhancements ( #4453 )
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
3 years ago
Brad Davidson
0c1f816f24
go generate
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
a7ba3e14ff
Add package version to traefik helm chart
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Manuel Buil
7685da3e24
Improve flannel logging
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Chris Kim
d93c82f958
[master] Bump golang and containerd ( #4538 )
...
* Increase test timeout to 60m
* Bump golang to v1.16.10
* Bump sonobuoy to v0.55.0
* Bump containerd to v1.5.8-k3s1
Signed-off-by: Chris Kim <oats87g@gmail.com>
3 years ago
Chris Kim
65110a4eec
[master] Bump Kubernetes to v1.22.4-k3s1 ( #4536 )
...
* Update to v1.22.4
Signed-off-by: Chris Kim <oats87g@gmail.com>
3 years ago
Hussein Galal
03485632ea
Fix regression with cluster reset ( #4521 )
...
* Fix regression with cluster reset
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* typo
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Derek Nola
ef263bd2b0
Improved regex for double equals arguments ( #4505 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Derek Nola
535a919635
Removed value from warning about skipping flags ( #4491 )
...
* Enabled skipping of unkown flags from config in parser
* Added new unit test, expanded existing
* Add warning back in, without value
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Jacob Blain Christen
c77efe64e1
tests/vagrant: refactor vagrant smoke tests ( #4484 )
...
- updated `tests/TESTING.md`
- cgroup, snapshotter, and install tests all under tests/vagrant
- cgroup and snapshotter workflows trigger for all code changes on all branches (excluding markdown docs, install script, and other vagrant tests)
- install workflow triggers for relevant script and fixture changes, only on master or pull-requests that target it
- integration and unit test workflows should not trigger for install script changes nor anything under tests/vagrant
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
3 years ago
Chris Kim
f18b3252c0
[master] Add etcd extra args support for K3s ( #4463 )
...
* 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>
* go generate
Signed-off-by: Chris Kim <oats87g@gmail.com>
3 years ago
Thorsten Klein
41ff19de71
Feature: Add CoreDNS Customization Options
...
Problem:
Before, to customize CoreDNS, one had to edit the default configmap,
which gets re-written on every K3s server restart.
Solution:
Mount an additional coredns-custom configmap into the CoreDNS container
and import overrides and additional server blocks from the included
files.
Signed-off-by: Thorsten Klein <iwilltry42@gmail.com>
3 years ago
Derek Nola
4b57951fb0
Fix to allow etcd-snapshot to use config file with flags that are only used with k3s server. ( #4464 )
...
* 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
5ab6d21a7d
Increase agent's apiserver ready timeout ( #4454 )
...
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
bc7cdc78ca
go generate
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
2e9358934d
Add dashboard annotations to Traefik helm chart
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Manuel Buil
8271d98a76
Merge pull request #4437 from manuelbuil/fix_svclb_ipv6_rh
...
Allow svclb pod to enable ipv6 forwarding
3 years ago
Manuel Buil
5d168a1d59
Allow svclb pod to enable ipv6 forwarding
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Brian Downs
adaeae351c
update bootstrap logic ( #4438 )
...
* update bootstrap logic resolving a startup bug and account for etcd
3 years ago
Derek Nola
d85b2468ea
Corrected skip check for dualstack on CI ( #4427 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Jacob Blain Christen
559c8ad94b
install: /usr/sbin/transactional-update ( #4403 )
...
- also updated k3s-uninstall.sh on zypper and TU systems
- fix #4409 for Fedora CoreOS
new installer tests via github actions:
- fedora-coreos
- opensuse-microos
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
3 years ago
Derek Nola
7bd65047c3
Match to last After keyword for parser ( #4383 )
...
* Made parser able to skip over subcommands
* Edge case coverage, reworked regex with groups
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Derek Nola
8915e4c7f7
Replace gzip with pigz for faster builds ( #4411 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Derek Nola
0a5c6b1088
Remove unit tests from drone CI ( #4424 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Luther Monson
36c6634cce
[master] updating to new signals package in wrangler ( #4399 )
...
* updating to new signals package in wrangler
Signed-off-by: Luther Monson <luther.monson@gmail.com>
3 years ago
Adam Majer
f1d6e9bc4b
install.sh: fix path detection for sle-micro ( #4398 )
...
transactional-update was always under /usr/sbin.
Signed-off-by: Adam Majer <amajer@suse.de>
3 years ago
Jacob Blain Christen
86c6924119
containerd: v1.5.7-k3s2 ( #4387 )
...
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
3 years ago
Brad Davidson
f7dcc139ff
Bump klipper-lb image for arm fix
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Derek Nola
aa3332085f
Update k3s CI to run all integration tests ( #4358 )
...
* Update k3s integration CI so all tests run
* Add check for ipv6 to skip test in Github CI
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago