Commit Graph

989 Commits (86fc94075970183d968de74835911396b381054a)

Author SHA1 Message Date
Brad Davidson 87395e32d6 Update modules for Kubernetes v1.23
3 years ago
Manuel Buil 30c701f5de
Merge pull request #4796 from manuelbuil/flannel-logrus
3 years ago
Brad Davidson a5c6e6a68a Fix panic checking name of uninitialized etcd member
3 years ago
Luther Monson 02f862da5f
Merge pull request #4791 from luthermonson/vendor-rm
3 years ago
Brian Downs 3ae550ae51
Update bootstrap logic to output all changed files on disk (#4800)
3 years ago
Luther Monson e6cf8f5982 code changes to drop the vendor dir
3 years ago
Manuel Buil 4eb282edac Move flannel logs to logrus
3 years ago
Hussein Galal 2e91913f54
Close agentReady channel only in k3s (#4792)
3 years ago
Brad Davidson 8ad7d141e8 Close etcd clients to avoid leaking GRPC connections
3 years ago
Manuel Buil 588d15db8f Remove Disables, Skips and DisableKubeProxy from the comparing configs
3 years ago
Brad Davidson 6f4217a340 Build standalone containerd
3 years ago
Derek Nola 17eebe0563
Fix cold boot and reconcilation on secondary servers (#4747)
3 years ago
Hussein Galal d71b335871
Fix snapshot restoration on fresh nodes (#4737)
3 years ago
Brian Downs bf4e037fcf
Resolve Bootstrap Migration Edge Case (#4730)
3 years ago
Brian Downs a6fe2c0bc5
Resolve restore bootstrap (#4704)
3 years ago
Brad Davidson a70487d5ae Update wharfie usage in windows code path
3 years ago
Hussein Galal 3985fd0e26
[master] Add validation to certificate rotation (#4692)
3 years ago
Manuel Buil 1e0696628e
Merge pull request #4581 from manuelbuil/checking-HA-parameters
3 years ago
Alexey Medvedchikov 8f389ab030
Include node-external-ip in serving-kubelet.crt SANs (#4620)
3 years ago
Derek Nola bcb662926d
Secrets-encryption rotation (#4372)
3 years ago
Manuel Buil 1b3187ea07 Check HA network parameters
3 years ago
Brad Davidson 7d3447ceff Bump wharfie to v0.5.1 and use shared decompression code
3 years ago
Hussein Galal 77fd3e99ec
Add cert rotation command (#4495)
3 years ago
Manuel Buil 8141a933b0
Merge pull request #4550 from manuelbuil/improve_flannel_logging
3 years ago
Derek Nola d05c334a78
Improved cleanup for etcd unit test (#4537)
3 years ago
Chris Kim ae4a1a144a
etcd snapshot functionality enhancements (#4453)
3 years ago
Brad Davidson 0c1f816f24 go generate
3 years ago
Manuel Buil 7685da3e24 Improve flannel logging
3 years ago
Hussein Galal 03485632ea
Fix regression with cluster reset (#4521)
3 years ago
Derek Nola ef263bd2b0
Improved regex for double equals arguments (#4505)
3 years ago
Derek Nola 535a919635
Removed value from warning about skipping flags (#4491)
3 years ago
Chris Kim f18b3252c0
[master] Add etcd extra args support for K3s (#4463)
3 years ago
Thorsten Klein 41ff19de71 Feature: Add CoreDNS Customization Options
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)
3 years ago
Brad Davidson 5ab6d21a7d
Increase agent's apiserver ready timeout (#4454)
3 years ago
Brad Davidson bc7cdc78ca go generate
3 years ago
Manuel Buil 8271d98a76
Merge pull request #4437 from manuelbuil/fix_svclb_ipv6_rh
3 years ago
Manuel Buil 5d168a1d59 Allow svclb pod to enable ipv6 forwarding
3 years ago
Brian Downs adaeae351c
update bootstrap logic (#4438)
3 years ago
Derek Nola 7bd65047c3
Match to last After keyword for parser (#4383)
3 years ago
Luther Monson 36c6634cce
[master] updating to new signals package in wrangler (#4399)
3 years ago
Brad Davidson f7dcc139ff Bump klipper-lb image for arm fix
3 years ago
Deshi Xiao f1622129e4 refactor: Use plain channel send or receive
3 years ago
Brad Davidson f9f1cabe9c Fix log/reap reexec
3 years ago
Jacob Blain Christen 702fe24afe
containerd/cri: enable the btrfs snapshotter (#4316)
3 years ago
Brad Davidson 3da1bb3af2 Fix other uses of NewForConfigOrDie in contexts where we could return err
3 years ago
Brad Davidson 5acd0b9008 Watch the local Node object instead of get/sleep looping
3 years ago
Brad Davidson 3fe460d080 Block scheduler startup on untainted node when using embedded CCM
3 years ago
Derek Nola 7c3f21e581
K3s Integration test fixes (#4341)
3 years ago
galal-hussein ab3d25a2c5 Update peer address when running cluster-reset
3 years ago
Brian Downs 0a0b915921
reset buffer after use (#4279)
3 years ago
Derek Nola 918945da45
Added configuration input to etcd-snapshot (#4280)
3 years ago
Brian Downs e11a4bf8bb
set duration to second (#4231)
3 years ago
Brian Downs 0452f017c1
Add etcd s3 timeout (#4207)
3 years ago
Brian Downs 34080b23b1
Copy old bootstrap buffer data for use during migration (#4215)
3 years ago
Manuel Buil dbc14b8990 Fix race condition in cloud provider
3 years ago
Brad Davidson 5a923ab8dc Add containerd ready channel to delay etcd node join
3 years ago
Hussein Galal b282528ee2
Display cluster tls error only in debug mode (#4124)
3 years ago
Brad Davidson dc18ef2e51 Refactor log and reaper exec to omit MAINPID
3 years ago
Derek Nola feec44572d
Improve error message when using a "K10" prefixed token (#4180)
3 years ago
Brian Downs ac7a8d89c6
Add ability to reconcile bootstrap data between datastore and disk (#3398)
3 years ago
Derek Nola b6919adf62
Add "etcd-" prefix to etcd-snapshot commands as aliases (#4161)
3 years ago
Manuel Buil 635f790eb4
Merge pull request #4114 from manuelbuil/lb-controller-dual-stack
3 years ago
Manuel Buil 00cf4578ec Dual-stack support LB controller
3 years ago
Marc Bachmann 9b35734e1a Add topologySpreadConstraints to support scaling of coredns
3 years ago
Brad Davidson 12e675e2cc Don't evacuate the root cgroup when rootless
3 years ago
Brad Davidson 5d1a37ee32 Send MAINPID to systemd when reexecing for logfile output
3 years ago
Brad Davidson a16105b348 Properly handle operation as init process
3 years ago
Brian Downs f4cea90cb9
set transport to skip verify if se skip flag passed (#4102)
3 years ago
Manuel Buil 87524a7ac7 Enable the inheritance of settings for ipv6
3 years ago
Michal Rostecki 47676eff78
Merge pull request #4080 from manuelbuil/update_klipperlb2
3 years ago
Brad Davidson 73e21e739f Drop broken SupportNoneCgroupDriver support
3 years ago
Manuel Buil b99b943c17 Use the new klipper-lb image that has newer go and Alpine versions
3 years ago
Brad Davidson 28be0de4e8 Revert "Use the newer klipper-lb image"
3 years ago
Brad Davidson 64b502e92c Disable automounting service account token in servicelb pods
3 years ago
Hussein Galal 7826407a2e
Make sure there are no duplicates in etcd member list (#4025)
3 years ago
Manuel Buil 1d21491094 Use the newer klipper-lb image
3 years ago
Brad Davidson 753e11ee3c Enable JobTrackingWithFinalizers FeatureGate
3 years ago
Derek Nola eda65b19d9
Remove expiremental from cluster commands (#4024)
3 years ago
Joe Kralicky debb508643
Nvidia container runtime discovery in containerd config template (#3890)
3 years ago
Brad Davidson 086ca8ba6a Fix premature etcd shutdown when joining an existing cluster
3 years ago
Manuel Buil 60cd86bc42
Merge pull request #3906 from manuelbuil/dual-stack
3 years ago
Brad Davidson 85e11c47d1 Add StargzSupported stub for Windows
3 years ago
Chris Kim acf9036b63
No-op when etcd member was already removed and use existing name for etcd controller (#4014)
3 years ago
Manuel Buil 9fcd79baae Add tests to the dual-stack PR and enable dual-stack with flannel backend
3 years ago
Manuel Buil 681058bb40 Add dual-stack support
3 years ago
Brad Davidson b72306ce3d Return the error since it just gets logged and retried anyways
3 years ago
Brad Davidson 5986898419 Use SubjectAccessReview to validate CCM RBAC
3 years ago
Brad Davidson dc556cbb72 Set controller authn/authz kubeconfigs
3 years ago
Brad Davidson 199424b608 Pass context into all Executor functions
3 years ago
Chris Kim 928b8531c3
[master] Add `etcd-member-management` controller to K3s (#4001)
3 years ago
Brad Davidson 57377d2cd4 Minor cleanup on cribbed function
3 years ago
Brad Davidson 3449d5b9f9 Wait for apiserver readyz instead of healthz
3 years ago
Brad Davidson b4d8c641c6 Add exposed metrics listener instead of replacing loopback listener
3 years ago
Brad Davidson 29c8b238e5 Replace klog with non-exiting fork
3 years ago
Brad Davidson 90960ebf4e SupportPodPidsLimit is locked to true of 1.20, making pids cgroup support mandatory
3 years ago
Darren Shepherd 741ba95b04 Migrate sqlite data to etcd when initializing the cluster
3 years ago
Devin Buhl a1ec43e0b7
feat: add option to disable s3 over https
3 years ago
Kohei Tokunaga 8b857eef9c
Ship Stargz Snapshotter (#2936)
3 years ago
Brad Davidson cf12a13175 Add missing node name entry to apiserver SAN list
3 years ago
Brad Davidson b8add39b07 Bump kine for metrics/tls changes
3 years ago
Hussein Galal 933052a02c
Fix condition for adding kubernetes endpoints (#3941)
3 years ago
Derek Nola 60297a1bbe
Creation of K3s integration test Sonobuoy plugin (#3931)
3 years ago
Brad Davidson 2a68c7c8a4 Fix issue where addon checksum was never stored
3 years ago
Manuel Buil 2e5c9e5cad
Merge pull request #3916 from manuelbuil/net_v6
3 years ago
Manuel Buil 96dcef478a Add functions to separate ipv4 from ipv6 functions
3 years ago
Derek Nola 114b30277f
Redux: Enable K3s integration test to run on existing cluster (#3905)
3 years ago
Akihiro Suda 331c6fed71 Remove runtime V1 (`containerd-shim`)
3 years ago
Akihiro Suda 176451f4ea
Fix rootless regression in 1.22 (Set KubeletInUserNamespace gate) (#3901)
3 years ago
Derek Nola 66dacc6ee0
Revert "Enable K3s integration test to run on existing cluster (#3892)" (#3899)
3 years ago
Derek Nola 703b5af950
Enable K3s integration test to run on existing cluster (#3892)
3 years ago
Brad Davidson e95b75409a Fix lint failures
3 years ago
Brad Davidson a5355f0827 Replace dropped v1beta1 APIs with v1
3 years ago
Brad Davidson dc14f370c4 Update wrangler to v0.8.5
3 years ago
Brad Davidson c434db7cc6 Wrap errors in runControllers for additional context
3 years ago
Brad Davidson 422d266da2 Disable deprecated insecure port
3 years ago
Brad Davidson 641ab26fde Update containerd to 1.5
3 years ago
Brad Davidson 872855015c Update etcd to v3.5.0
3 years ago
Brad Davidson e204d863a5 Update Kubernetes to v1.22.1
3 years ago
Derek Nola ed5991f13b
K3s Flock Integration Test (#3887)
3 years ago
Hussein Galal e322924781
Reset load balancer state during restoraion (#3877)
3 years ago
Malte Starostik b23955e835
Fix URL pruning when joining an etcd member (#3832)
3 years ago
Derek Nola a1e36153f9
Added locking system for integration tests (#3820)
3 years ago
Jamie Phillips ae909c73e5 Updated the code to use GetNetworkByName and tweaked logic.
3 years ago
Derek Nola 4cc781b5e3
Moved testing utils into tests directory. Improved gotests template. (#3805)
3 years ago
Brian Downs dcf0657b20
account for an s3 folder when listing objects (#3807)
3 years ago
Derek Nola b4eca61aeb
Prevent snapshot commands from creating empty snapshot directory (#3783)
3 years ago
Jiaqi Luo 3b01157a3a
Use New Image Names (#3749)
3 years ago
Hussein Galal bc96ffb5f3
Fix Node stuck at deletion (#3771)
3 years ago
Brad Davidson dfd4e42e57 Wrap context with lease before importing images
3 years ago
Hussein Galal 2069cdf4ee
Fix initial start of etcd only nodes (#3748)
3 years ago
Ryan Sanna 429af17e4d update rancher/local-path-provisioner to v0.0.20
3 years ago
Brad Davidson 5ab3590d9b Improve config retrieval messages
3 years ago
Brad Davidson 869b98bc4c Sync DisableKubeProxy into control struct
3 years ago
Hussein Galal b1b5f72dc3
Notify systemd for etcd only node (#3732)
3 years ago
Jamie Phillips 7704fb6ee5
Exporting the AddFeatureGate function and adding a unit test for it. (#3661)
3 years ago
Jamie Phillips fc19b805d5
Added logic to strip any existing hyphens before processing the args. (#3662)
3 years ago
Derek Nola a1d7a62493
Fix to allow non-root users access to storage volumes. (#3714)
3 years ago
Brad Davidson 90445bd581
Wait until server is ready before configuring kube-proxy (#3716)
3 years ago
Derek Nola 21c8a33647
Introduction of Integration Tests (#3695)
3 years ago
galal-hussein 20a48734c2 more fixes
3 years ago
galal-hussein 7ebcc4b134 more fixes
3 years ago
galal-hussein b4401296ec replace error with warn in delete
3 years ago
galal-hussein 2f82bfcf67 fix warning msg
3 years ago
galal-hussein b377839148 migrate old token key format
3 years ago
galal-hussein 997ed7b9b4 simplifying the code
3 years ago
galal-hussein ad17292fa8 migrate empty string key properly
3 years ago
galal-hussein a65e5b6466 Fix multiple bootstrap keys found
3 years ago
Luther Monson 37fcb61f5e move go routines for api server ready beneath wait group
3 years ago
Luther Monson 18bc98f60c
adding startup hooks args to access to Disables and Skips (#3674)
3 years ago
Derek Nola bba49ea447
Fix to allow prune to correctly cleanup custom named snapshots (#3649)
3 years ago
Jamie Phillips aef8a6aafd
Adding support for waitgroup to the Startuphooks (#3654)
3 years ago
Hussein Galal a939decf01
fix a runtime core panic (#3627)
3 years ago
Derek Nola 55fe4ff5b0
Convert existing unit tests to standard layout (#3621)
3 years ago
Brian Downs 238dc2086e
prevent snapshot save when snapshots are disabled (#3475)
3 years ago
William Zhang a4c992ce52 🐳 burp to inetaf/tcpproxy
3 years ago
Chris Kim ada145641c
Update etcd snapshot error message to be more informative when etcd database is not found (#3568)
3 years ago
Jamie Phillips a62d143936 Fixing various bugs related to windows.
3 years ago
Derek Nola 73df2d806b
Update embedded kube-router (#3557)
3 years ago
Deshi Xiao 77fcf2dfc5 missing build tag for windows
3 years ago
Derek Nola c833183517
Add unit tests for pkg/etcd (#3549)
3 years ago
Brad Davidson cbfe673c43 Fix spelling to satisfy codespell check
3 years ago
Brad Davidson cbacd7107e Allow passing targeted environment variables to containerd
3 years ago
Hussein Galal f5fbb9a9a8
Export cli server flags and etcd restoration functions (#3527)
3 years ago
Brad Davidson 246b378a27 Bump kine to resolve race condition and unrevisioned delete
3 years ago
Derek Nola 3e1693bc97
Changes local storage pods to have 700 permissions (#3537)
3 years ago
Chris Kim 04398a2582
Move cloud-controller-manager into an embedded executor (#3525)
3 years ago
Joe Kralicky a84c75af62 Adds a command-line flag '--disable-helm-controller' that will disable
3 years ago
Jamie Phillips 82394d7d36 Basic windows agent that will join a cluster without CNI.
3 years ago
Hussein Galal 136dddca11
Fix storing bootstrap data with empty token string (#3422)
3 years ago
Derek Nola 4b2ab8b515
Renamed client-cloud-controller crt and key (#3470)
3 years ago
Derek Nola ef23c6c548
Redux: Change containerd image leases from context lifespan to permanent (#3464)
3 years ago
Derek Nola b74c499709
Revert "Change containerd image leases from 24h to permanent (#3452)" (#3461)
3 years ago
Derek Nola 86b3ba8dba
Change containerd image leases from 24h to permanent (#3452)
3 years ago
Brian Downs 88f95ec409
Send systemd notifications for both server and agent (#3430)
3 years ago
Brad Davidson a7d1159ba6 Emit events for AddOn lifecycle
4 years ago
Brad Davidson ea2cd6d727 Add comments, clean up imports and function names
4 years ago
Brad Davidson 6e48ca9b53 Tidy up function calls with many args
4 years ago
Brad Davidson 6ef000091a Add nodename to UA string for deploy controller
4 years ago
Brad Davidson f6cec4e75d Add kubernetes.default.svc to serving certs
4 years ago
Manuel Buil 243fd14cf1 Change Replace with ReplaceAll function
4 years ago
Brian Downs afd506a595 fix possible race where bootstrap data might not save
4 years ago
Brian Downs 2682183773 add log message indicating etcd snapshots are disabled
4 years ago
Derek Nola 664a98919b
Fix RBAC cloud-controller-manager name 3308 (#3388)
4 years ago
Manuel Buil 5153088286
Merge pull request #3385 from manuelbuil/wireguard-fix
4 years ago
Manuel Buil 1576030d6b Add a path for wireguard's privatekey
4 years ago
Jamie Phillips 7345ac35ae
Initial windows support for agent (#3375)
4 years ago
Brian Downs ecbf17e2ed move object channel defer close to goroutine
4 years ago
Brian Downs 254b52077e add retention default and wire in s3 prune
4 years ago
Brad Davidson 7e175e8ad4 Handle conntrack-related sysctls in supervisor agent setup
4 years ago
Brian Downs e8ecc00fc8 add etcd snapshot save subcommand
4 years ago
Brian Downs 6ee28214fa
Add the ability to prune etcd snapshots (#3310)
4 years ago
Brad Davidson 079620ded0 Fix passthrough of SystemDefaultRegistry from server config
4 years ago
MonzElmasry 24474c5734
change --disable-apiserver flag
4 years ago
Brad Davidson e10524a6b1 Add executor.Bootstrap hook for pre-execution setup
4 years ago
Brian Downs bcd8b67db4
Add the ability to list etcd snapshots (#3303)
4 years ago
Brad Davidson 02a5bee62f
Add system-default-registry support and remove shared code (#3285)
4 years ago
Hussein Galal 948295e8e8
Fix cluster restoration in rke2 (#3295)
4 years ago
Brad Davidson fc037e87f8 Use config file values in node-args annotation
4 years ago
Brian Downs e998cd110d
Add the ability to delete an etcd snapshot locally or from S3 (#3277)
4 years ago