Commit Graph

1409 Commits (bd45aa5c45977725e58840bd81fea2d41b4c176a)

Author SHA1 Message Date
Brad Davidson 513c3416e7 Tweak netpol node wait logs
9 months ago
Brad Davidson be569f65a9 Fix NodeHosts on dual-stack clusters
9 months ago
Edgar Lee 8c83b5e0f3 Rootless mode also bind service nodePort to host for LoadBalancer type
9 months ago
Manuel Buil 3b4f13f28d Update klipper-lb image version
9 months ago
Brad Davidson 86f102134e Fix netpol startup when flannel is disabled
9 months ago
Derek Nola fae41a8b2a Rename AgentReady to ContainerRuntimeReady for better clarity
9 months ago
Derek Nola 91cc2feed2 Restore original order of agent startup functions
9 months ago
Brad Davidson de825845b2 Bump kine and set NotifyInterval to what the apiserver expects
10 months ago
Edgar Lee 0ac4c6a056 Expose rootless containerd socket directories for external access
10 months ago
Edgar Lee 14c6c63b30 Expose rootless state dir under ~/.rancher/k3s/rootless
10 months ago
Oleg Matskiv e3b237fc35 Don't verify the node password if the local host is not running an agent
10 months ago
Derek Nola fa11850563
Readd `k3s secrets-encrypt rotate-keys` with correct support for KMSv2 GA (#9340)
10 months ago
Oliver Larsson cfc3a124ee
[Testing]: Test_UnitApplyContainerdQoSClassConfigFileIfPresent (Created) (#8945)
10 months ago
Harrison Affel a36cc736bc allow executors to define containerd and docker behavior
10 months ago
Brad Davidson 753c00f30c Consistently handle component exit on shutdown
10 months ago
Vitor Savian e9cec46a23 Runtimes refactor using exec.LookPath
10 months ago
Vitor Savian f9ee66f4d8 Changed how lastHeartBeatTime works in the etcd condition
10 months ago
Brad Davidson 8224a3a7f6 Fix ipv6 endpoint address selection for on-demand snapshots
10 months ago
Brad Davidson 888f866dae Fix issue with coredns node hosts controller
10 months ago
Brad Davidson 6ec1926f88 Add check for etcd-snapshot-dir and fix panic in Walk
10 months ago
Brad Davidson 82e3c32c9f Retry startup snapshot reconcile
10 months ago
Brad Davidson 4005600d4e Fix excessive retry on snapshot reconcile
10 months ago
github-actions[bot] f249fcc2f1
Bump Local Path Provisioner version (#8953)
10 months ago
Brad Davidson c635818956 Bump runc and helm-controller versions
10 months ago
Brad Davidson 97a22632b9 gofmt config_test.go
10 months ago
Brad Davidson 29848dea3d Fix issues with certs.d template generation
10 months ago
Vitor Savian 9a70021a9e Error getting node in setEtcdStatusCondition
11 months ago
Brad Davidson c87e6e5f7e Move proxy dialer out of init() and fix crash
11 months ago
Brad Davidson 76fa022045 Enable network policy controller metrics
11 months ago
Brad Davidson 37e9b87f62 Add embedded registry implementation
11 months ago
Brad Davidson ef90da5c6e Add server CLI flag and config fields for embedded registry
11 months ago
Brad Davidson 77846d63c1 Propagate errors up from config.Get
11 months ago
Brad Davidson 16d29398ad Move registries.yaml load into agent config
11 months ago
Brad Davidson 5c99bdd9bd Pin images instead of locking layers with lease
11 months ago
Vitor Savian 4a92ced8ee Handle etcd status condition when cluster reset and disable etcd
11 months ago
Aofei Sheng 8d2c40cdac
Use `ipFamilyPolicy: RequireDualStack` for dual-stack kube-dns (#8984)
11 months ago
Manuel Buil 6330e26bb3 Wait for taint to be gone in the node before starting the netpol controller
11 months ago
Brad Davidson b297996b92 Add runtime checking of golang version
11 months ago
Lex Rivera 5fe074b540
Add more paths to crun runtime detection (#9086)
11 months ago
Brad Davidson c45524e662 Add support for containerd cri registry config_path
11 months ago
Brad Davidson 319dca3e82 Fix nil map in full snapshot configmap reconcile
11 months ago
Brad Davidson db7091b3f6 Handle logging flags when parsing kube-proxy args
11 months ago
Brad Davidson 1e663622d2 Fix the OTHER log message that prints the wrong variable
11 months ago
Brad Davidson a27d660a24 Add ServiceLB support for PodHostIPs FeatureGate
11 months ago
Derek Nola aca1c2fd11
Add a retry around updating a secrets-encrypt node annotations (#9039)
11 months ago
Pierre bbd68f3a50
Rebase & Squash (#9070)
11 months ago
Derek Nola 3190a5faa2
Remove rotate-keys subcommand (#9079)
11 months ago
Hussein Galal 9411196406
Update flannel to v0.24.0 and remove multiclustercidr flag (#9075)
11 months ago
Hussein Galal 7101af36bb
Update Kubernetes to v1.29.0+k3s1 (#9052)
12 months ago
Brad Davidson 231cb6ed20
Remove GA feature-gates (#8970)
12 months ago
Brad Davidson 08509a2a90 Allow setting default-runtime on servers
12 months ago
Brad Davidson b9c288f702 Bump containerd/runc to v1.7.10-k3s1/v1.1.10
12 months ago
Vitor Savian 03532f7c0b Added runtime classes for crun/wasm/nvidia
12 months ago
Brad Davidson 6d3a92a658 Print key instead of file path in snapshot metadata log message
1 year ago
Brad Davidson b23e70d519 Don't apply s3 retention if S3 client failed to initialize
1 year ago
Brad Davidson a92c4a0f17 Don't request metadata when listing objects
1 year ago
Brad Davidson 1e0a7044cf Reorder snapshot configmap reconcile to reduce log spew during initial startup
1 year ago
Vitor Savian e53c189587
Handle nil pointer when runtime core is not ready in etcd
1 year ago
Brad Davidson 6c544a4679 Add jitter to client config retry
1 year ago
Harsimran Singh Maan abc2efdd57
Disable helm CRD installation for disable-helm-controller (#8702)
1 year ago
Jason Costello 07ee854914
Tweaked order of ingress IPs in ServiceLB (#8711)
1 year ago
Brad Davidson 7ecd5874d2 Skip initial datastore reconcile during cluster-reset
1 year ago
Brad Davidson 2088218c5f Fix issue with snapshot metadata configmap
1 year ago
chenk008 b47cbbfd42
add agent flag disable-apiserver-lb (#8717)
1 year ago
Oliver Larsson 30c8ad926d QoS-class resource configuration
1 year ago
Manuel Buil 8f7a8b23b7 Improve dualStack log
1 year ago
Hussein Galal f5920d7864
Add warning for multiclustercidr flag (#8758)
1 year ago
Flavio Castelli ba5fcf13fc
Wasm shims and runtimes detection
1 year ago
Vitor Savian c5cd7b3d65
Added etcd status condition
1 year ago
Hussein Galal 9e13aad4a8
Update traefik to fix registry value (#8792)
1 year ago
Hussein Galal 1ae053d944
Upgrade traefik chart to v25.0.0 (#8771)
1 year ago
Texot f575a05be2
fix: Access outer scope .SystemdCgroup (#8761)
1 year ago
Brad Davidson 49411e7084 Don't try to read token hash and cluster id during cluster-reset
1 year ago
Brad Davidson 5b6b9685e9 Manually requeue configmap reconcile when no nodes have reconciled snapshots
1 year ago
Brad Davidson 3db1d33282 Re-enable etcd endpoint auto-sync
1 year ago
Brad Davidson b8dc95539b Fix CloudDualStackNodeIPs feature-gate inconsistency
1 year ago
Sean Yen 0c9bf36fe0
[K3s][Windows Port] Build script, multi-call binary, and Flannel (#7259)
1 year ago
Derek Nola aaf8409096
Use version.Program not K3s in log (#8653)
1 year ago
Brad Davidson 9597ea1183 Start etcd client before ensuring self removal
1 year ago
Brad Davidson 3abc8b82ed Bump traefik, golang.org/x/net, google.golang.org/grpc
1 year ago
Roberto Bonafiglia 1ffb4603cd Use IPv6 in case is the first configured IP with dualstack
1 year ago
Brad Davidson d885162967 Add server token hash to CR and S3
1 year ago
Brad Davidson 550ab36ab7 Switch to managing ETCDSnapshotFile resources
1 year ago
Brad Davidson 5cd4f69bfa Move snapshot delete into local/s3 functions
1 year ago
Brad Davidson a15b804e00 Sort snapshots by time and key in tabwriter output
1 year ago
Brad Davidson 7464007037 Store extra metadata and cluster ID for snapshots
1 year ago
Brad Davidson 80f909d0ca Move s3 snapshot list functionality to s3.go
1 year ago
Brad Davidson 8d47645312 Consistently set snapshotFile timestamp
1 year ago
Brad Davidson f1afe153a3 Tidy s3 upload functions
1 year ago
Brad Davidson 2b0e2e8ada Elide old snapshot data when apiserver rejects configmap with ErrRequestEntityTooLarge
1 year ago
Brad Davidson 676b00aa0e Move etcd snapshot code into separate file
1 year ago
Brad Davidson 500744bb94 Add new CRD for etcd snapshots
1 year ago
Brad Davidson 9bb1ce1253 Bump busybox to v1.36.1
1 year ago
Derek Nola dface01de8
Server Token Rotation (#8265)
1 year ago
Roberto Bonafiglia ced25af5b1 Fixed tailscale node IP dualstack mode in case of IPv4 only node
1 year ago
Manuel Buil e82b37640a Network defaults are duplicated, remove one
1 year ago
Manuel Buil f2c7117374 Take IPFamily precedence based on order
1 year ago
Manuel Buil 0b23a478cf ipFamilyPolicy:PreferDualStack for coredns and metrics-server
1 year ago
Brad Davidson 0e5c760625 Pass SystemdCgroup setting through to nvidia runtime options
1 year ago
Edgar Lee fe18b1fce9
Add --image-service-endpoint flag (#8279)
1 year ago
Manuel Buil 2a9e8e68d5
Merge pull request #8354 from manuelbuil/vpnExtraParams
1 year ago
Manuel Buil 4dd45b3142
Merge pull request #8439 from manuelbuil/fixGofmt
1 year ago
Vitor Savian b6ab24c4fd
Added error when cluster reset while using server flag
1 year ago
Manuel Buil 172a7f1d1a Fix gofmt error
1 year ago
Brad Davidson 8705a88bf4 Clear remove annotations on cluster reset; refuse to delete last member from cluster
1 year ago
Brad Davidson 002e6c43ee Reorganize Driver interface and etcd driver to avoid passing context and config into most calls
1 year ago
Brad Davidson 890645924f Don't export functions not needed outside the etcd package
1 year ago
Brad Davidson a3c52d60a5 Skip creating CRDs and setting up event recorder for CLI controller context
1 year ago
Brad Davidson 391e61bd72 Use admin kubeconfig instead of supervisor for etcd snapshot CLI
1 year ago
Brad Davidson 8c73fd670b Disable HTTP on main etcd client port
1 year ago
Manuel Buil 12459fca97 Add extraArgs to tailscale
1 year ago
Manuel Buil cae8b2b626
Merge pull request #8346 from manuelbuil/interfaceLogs
1 year ago
Manuel Buil 3194dc7367
Merge pull request #8284 from manuelbuil/improveFlannelLogging
1 year ago
Manuel Buil 8c197bdce4 Include the interface name in the error message
1 year ago
Manuel Buil 8146041185
Merge pull request #8250 from manuelbuil/fixWinError
1 year ago
Johnatas 6330a5b49c
Update to v1.28.2 and go v1.20.8 (#8364)
1 year ago
Manuel Buil 66cb1064d1 Add context to flannel errors
1 year ago
Manuel Buil d3f7632463 Fix error reporting
1 year ago
Brad Davidson 0d23cfe038 Add RWMutex to address controller
1 year ago
Brad Davidson cba9f0d142 Add new CLI flag to disable TLS SAN CN filtering
1 year ago
Derek Nola 2cb7023660 Use already imported semver, bump kine
1 year ago
Derek Nola f2d0c5409a Add check for support on cp nodes
1 year ago
Derek Nola 51f1a5a0ab Review comments and fixes
1 year ago
Derek Nola 42c2ac95e2 CLI + Backend for Secrets Encryption v3
1 year ago
Derek Nola b967f92785 Replace os.Write with AtomicWrite function
1 year ago
Derek Nola ced330c66a
[v1.28] CLI Removal for v1.28.0 (#8203)
1 year ago
Hussein Galal af50e1b096
Update to v1.28.0-k3s1 (#8199)
1 year ago
Brad Davidson 66bae3e326 Bump dynamiclistener for init deadlock fix
1 year ago
Vitor Savian e83b1ba4aa
Fixed the etcd retention to delete orphaned snapshots based on the date (#8177)
1 year ago
Vitor Savian c97211866a
Fix for cluster-reset backup from s3 when etcd snapshots are disabled (#8155)
1 year ago
Ian Cardoso e551308db8
fix for etcd-snapshot delete with --etcd-s3 flag (#8110)
1 year ago
Vitor Savian ca7aeed090
Etcd snapshots retention when node name changes (#8099)
1 year ago
Brad Davidson aa76942d0f Add FilterCN function to prevent SAN Stuffing
1 year ago
Manuel Buil 8c38d1169d
Merge pull request #8077 from manuelbuil/fixTailscale
1 year ago
Derek Nola 46cbbab263
Consolidate CopyFile functions (#8079)
1 year ago
Manuel Buil 59eec78c62 Fix tailscale bug with ip modes
1 year ago
Brad Davidson f21ae1d949 Make apiserver egress args conditional on egress-selector-mode
1 year ago
Simon Kirsten 546dc247a0
Add support for `{{ template "base" . }}` in etc/containerd/config.toml.tmpl (#7991)
1 year ago
Derek Nola 6d360e6473
Unit test for MustFindString (#8013)
1 year ago
Derek Nola be44243353
Adjust default kubeconfig file permissions (#7978)
1 year ago
Derek Nola 0b18a65d4f
Revert "Warn that v1.28 will deprecate reencrypt/prepare (#7848)"
1 year ago
Bartosz Lenart 34617390d0
Generation of certificates and keys for etcd gated if etcd is disabled. (#6998)
1 year ago
Derek Nola 8405813c12
Fix rootless node password (#7887)
1 year ago
Denys Smirnov b9a2bf11ee Support setting control server URL for Tailscale.
1 year ago
Derek Nola 4ab01f3941
Warn that v1.28 will deprecate reencrypt/prepare (#7848)
1 year ago
Manuel Buil 6c44b06e0a
Merge pull request #7838 from manuelbuil/ipv4ipv6tailscale
1 year ago
Manuel Buil bca0adbca8 Fix code spell check
1 year ago
Manuel Buil 9c48d10eba
Merge pull request #7845 from manuelbuil/removeWinFile
1 year ago
Brad Davidson 7f50b40cfe Fall back to basic/bearer auth when node identity auth is rejected
1 year ago
Daishan Peng ce3443ddf6 Allow k3s to customize apiServerPort on helm-controller
1 year ago