Brad Davidson
a094dee7dd
Update packaged components
...
Update images and manifests/charts for coredns, local-path-provisioner, traefik, and pause
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
27fe2c3c1b
go generate
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Farukh Khan
c4eb273641
Upgrade: metrics server version bump from v0.5.0 to v0.5.2
...
Kubernetes Metrics Server version upgrade with the following changes:
Remove elevated permissions cap_net_bind_service from metrics-server
Fix bad architecture metadata
Fix reporting inconsistent number of nodes, caused by using invalid Kubelet node start time metric
Fix reporting partial container metrics for pod
Signed-off-by: Farukh Khan <farukhkhan21@gmail.com>
3 years ago
Manuel Buil
66780cc665
Remove ip6table rules when cleaning up k3s
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Roberto Bonafiglia
8eded2749a
Added debug log for IPv6 Masquerading rule
...
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@gmail.com>
3 years ago
Brad Davidson
c08d394994
Bump etcd and containerd to track upstream
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
b1e0f4c8fc
Skip CGroup v2 evac when agent is disabled
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Roberto Bonafiglia
111c1669fc
Added flannel-ipv6-masq flag to enable IPv6 nat
...
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@gmail.com>
3 years ago
Roberto Bonafiglia
2253f64b2a
Added iptables masquerade rules for ipv6 on flannel
...
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@gmail.com>
3 years ago
Brian Downs
effcb15adb
Adds the ability to compress etcd snapshots ( #4866 )
3 years ago
Derek Nola
48ffed3852
Enable logging on all subcommands ( #4921 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Brad Davidson
a0cadcd343
Move ClusterResetRestore handling ControlConfig setup
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Jossemar Cordero
a3190bd146
Update building documentation for macOS ( #4850 )
...
Update building documentation for macOS
Problem: The k3s build scripts rely on GNU utils, like sed, so when
these scripts are run on a macOS environment they don't work as
expected.
Solution: Update the documentation to point out this scenario and
suggest the reader to spin up the Linux virtual machine defined on
the Vagrantfile within this project.
Signed-off-by: Jonnatan Jossemar Cordero <jonnatan.cordero@suse.com>
3 years ago
Brad Davidson
0144d23bb2
Add basic etcd join test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
5ca206ad3b
Fix handling of agent-token fallback to token
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
e7464a17f7
Fix use of agent creds for secrets-encrypt and config validate
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
8d8c8b0c6b
Don't skip the dev image when skipping airgap
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Lordran
31f1a00b6f
Fix a typo: advertise-up -> advertise-ip ( #4827 )
...
Signed-off-by: 胥朝阳 <xuzhaoyang@91cyt.com>
3 years ago
Derek Nola
2ac8df3602
Integration tests utilities improvements ( #4832 )
...
* Remove sudo commands from integration tests
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Added cleanup fucntion
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Implement better int cleanup
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Rename test utils
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Enable K3sCmd to be a single string
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Removed parsePod function
Signed-off-by: Derek Nola <derek.nola@suse.com>
* codespell
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Revert startup timeout
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Reorder sonobuoy tests, drop concurrent tests to 3
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Disable etcd
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Skip parallel testing for etcd
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Luther Monson
644c30c8a6
Merge pull request #4849 from luthermonson/fix-windows-linter
...
[master] Fix small windows lint issues
3 years ago
Derek Nola
612a9412fd
Enable make generate to use dapper and standardize go and gzip versions ( #4861 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Luther Monson
66eeabbdfc
linter doesn't actually run on windows, found these while getting it running on a windows machine
...
Signed-off-by: Luther Monson <luther.monson@gmail.com>
3 years ago
Brad Davidson
142b1d96f4
Update channel.yaml for 1.23
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Derek Nola
ff49dcf71e
Export default parser
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
(cherry picked from commit 9cc930e4a3
)
3 years ago
Derek Nola
d0f7e23328
Require integration test to be run as sudo/root ( #4824 )
...
* Remove internal sudo commands from integration tests
* Run integration CI as sudo
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Derek Nola
a02db0f2fa
Fix cgroup smoke test ( #4823 )
...
* Fixed control group vagrantfile so running vagrant up doesn't fail locally
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Brad Davidson
08d538fb3a
Update golang
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
87395e32d6
Update modules for Kubernetes v1.23
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
ShylajaDevadiga
6656d48415
Add tests to use vagrantfile ( #4722 )
...
* Add tests to use vagrantfile
Signed-off-by: Shylaja Devadiga <shylaja.devadiga@suse.com>
* Removed outdated e2e tests.
* Removed Terraform
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: Shylaja Devadiga <shylaja.devadiga@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
3 years ago
Luther Monson
2390620117
Merge pull request #4817 from luthermonson/backout-package
3 years ago
Hussein Galal
70902209b9
Bump stable to v1.22.5+k3s1 ( #4821 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Manuel Buil
30c701f5de
Merge pull request #4796 from manuelbuil/flannel-logrus
...
Move flannel logs to logrus
3 years ago
Luther Monson
3ee3ecb3ac
package rename wasnt approved yet, backing out cruft that snuck into last pr
...
Signed-off-by: Luther Monson <luther.monson@gmail.com>
3 years ago
Brad Davidson
a5c6e6a68a
Fix panic checking name of uninitialized etcd member
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Luther Monson
02f862da5f
Merge pull request #4791 from luthermonson/vendor-rm
...
[master] Remove the Vendor Directory
3 years ago
Brad Davidson
52e450f033
Add etcd sonobuoy tests
...
Closes a gap in test coverage. Also fixes an issue where args and hooks
from previous test runs were not being reset for subsequent runs.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
9919f229b6
Add variable to enforce max test concurrency
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
247298a20d
Fix previous channel detection
...
This failed if the build metadata contained a period, as in v1.23.0-rc.0
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
6872e7da25
More codespell ignores
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brian Downs
3ae550ae51
Update bootstrap logic to output all changed files on disk ( #4800 )
3 years ago
Luther Monson
0e72260df4
delete vendor dir
...
Signed-off-by: Luther Monson <luther.monson@gmail.com>
3 years ago
Luther Monson
e6cf8f5982
code changes to drop the vendor dir
...
Signed-off-by: Luther Monson <luther.monson@gmail.com>
3 years ago
Manuel Buil
4eb282edac
Move flannel logs to logrus
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Hussein Galal
2e91913f54
Close agentReady channel only in k3s ( #4792 )
...
* Close agentReady channel only in k3s
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* codespell check
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Brad Davidson
8ad7d141e8
Close etcd clients to avoid leaking GRPC connections
...
If you don't explicitly close the etcd client when you're done with it,
the GRPC connection hangs around in the background. Normally this is
harmelss, but in the case of the temporary etcd we start up on 2399 to
reconcile bootstrap data, the client will start logging errors
afterwards when the server goes away.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Manuel Buil
e7d14e5676
Merge pull request #4781 from manuelbuil/fix-rke2-ha-master
...
Remove Disables, Skips and DisableKubeProxy from the comparing configs
3 years ago
Manuel Buil
588d15db8f
Remove Disables, Skips and DisableKubeProxy from the comparing configs
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Chris Wayne
555dfc54db
Add initial skeleton ADOPTERS.md to better track large use cases ( #4764 )
...
* Add initial skeleton ADOPTERS.md to better track large use cases
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
Co-authored-by: Brian Downs <brian.downs@gmail.com>
3 years ago
Brad Davidson
baf865b836
Add ADR
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
6f4217a340
Build standalone containerd
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago