Commit Graph

1107 Commits (a99376663ba3069fd2a702175871f0ab17acdb33)

Author SHA1 Message Date
Brad Davidson 4aca21a1f1 Add cri-dockerd support as backend for --docker flag
2 years ago
Brad Davidson b1fa63dfb7 Revert "Remove --docker/dockershim support"
2 years ago
Brad Davidson cf66559940 Print stack on panic
2 years ago
Roberto Bonafiglia abdf0c7319 Fix comments and add check in case of IPv6 only node
2 years ago
Roberto Bonafiglia d90ba30353 Added NodeIP autodect in case of dualstack connection
2 years ago
Derek Nola 1c17f05b8e
Fix secrets reencryption for 8K+ secrets (#5936)
2 years ago
Derek Nola 118a68c913
Updates to CLI flag grouping + deprecated flag warnings. (#5937)
2 years ago
Vladimir Kochnev 13af0b1d88 Save agent token to /var/lib/rancher/k3s/server/agent-token
2 years ago
Derek Nola 4c0bc8c046
Update etcd error to match correct url (#5909)
2 years ago
Brad Davidson db2ba7b61d Don't enable unprivileged ports and icmp on old kernels
2 years ago
Brad Davidson 5eaa0a9422 Replace getLocalhostIP with Loopback helper method
2 years ago
Brad Davidson 84fb8787f2 Add service-cluster-ip-range to controller-manager args
2 years ago
Brad Davidson bd5fdfce33 Fix server systemd detection
2 years ago
Brad Davidson 1674b9d640 Raise etcd connection test timeout to 30 seconds
2 years ago
Brad Davidson ffe72eecc4 Address issues with etcd snapshots
2 years ago
Brad Davidson 167ed19d22 Fix deletion of svclb DaemonSet when Service is deleted
2 years ago
Brad Davidson fc1c100ffd Remove legacy bidirectional datastore sync code
2 years ago
Brad Davidson 83420ef78e Fix fatal error when reconciling bootstrap data
2 years ago
Brad Davidson d2089872bb Fix issue with containerd stats missing from cadvisor metrics
2 years ago
Brad Davidson afee83dda2 Bump remotedialer
2 years ago
Brad Davidson 961c8274a9 Don't crash when service IPFamiliyPolicy is not set
2 years ago
Brad Davidson ff6c233e41 Fix egress selector proxy/bind-address support
2 years ago
Brad Davidson 96162c07c5 Handle egress-selector-mode change during upgrade
2 years ago
Olli Janatuinen 2968a83bc0 containerd: Enable enable_unprivileged_ports and enable_unprivileged_icmp by default
2 years ago
Brad Davidson 6fad63583b Only listen on loopback when resetting
2 years ago
Brad Davidson 3399afed83 Ensure that CONTAINERD_ variables are not shadowed by later entries
2 years ago
Brad Davidson fb0a342a20 Sanitize filenames for use in configmap keys
2 years ago
Derek Nola a9b5a1933f
Delay service readiness until after startuphooks have finished (#5649)
2 years ago
Roberto Bonafiglia a693071c74
Merge pull request #5552 from sjoerdsimons/sjoerd/flannel-wireguard-mode
2 years ago
Darren Shepherd e6009b1edf Introduce servicelb-namespace parameter
2 years ago
Darren Shepherd f4cc1b8788 Move all klipper-lb daemonset to common namespace for PodSecurity
2 years ago
Manuel Buil d4522de06a
Merge pull request #5656 from manuelbuil/AddFlannelCniConfFile
2 years ago
Igor 2999289e68
add support for pprof server (#5527)
2 years ago
Brad Davidson 0581808f5c Set default egress-selector-mode to agent
3 years ago
Brad Davidson b550e1183a Remove control-plane egress context and fix agent mode.
3 years ago
Brad Davidson d3242bea3c Refactor egress-selector pods mode to watch pods
3 years ago
Manuel Buil c705d34804 Add FlannelConfCNI flag
3 years ago
Sjoerd Simons 8643576985 Add ability to pass configuration options to flannel backend
3 years ago
Brad Davidson 491aa11e10 Revert "Give kubelet the node-ip value (#5579)"
3 years ago
Brad Davidson 29397b4e68 Re-add --cloud-provider=external kubelet arg
3 years ago
Brad Davidson 9d7230496d Add support for configuring the EgressSelector mode
3 years ago
Manuel Buil aa9065749c
Give kubelet the node-ip value (#5579)
3 years ago
Donnie Adams c38a8c3b43
Remove objects when removed from manifests (#5560)
3 years ago
Brad Davidson 4a3d283bc1 Remove --docker/dockershim support
3 years ago
Brad Davidson 360f18d1cf Always set pod-infra-container-image to protect it from image GC
3 years ago
Brad Davidson 0710a7198a Remove deprecated flags from cloud-controller-manager
3 years ago
Brad Davidson 703779c32f Remove deprecated flags from kube-apiserver
3 years ago
Brad Davidson 551f2fa00a Remove deprecated flags from kubelet
3 years ago
Brad Davidson c8447dca56 Bump golang to 1.18.1
3 years ago
Brad Davidson e6385b2341 Update CNI version in config file
3 years ago
Manuel Buil a3b35d21e9 Add "ipFamilyPolicy: PreferDualStack" to have dual-stack ingress support
3 years ago
Brad Davidson 1d4f995edd Move auto-generated resolv.conf out of /tmp to prevent accidental cleanup
3 years ago
Manuel Buil 314e3f56dc Check if user has a correct cluster-cidr and service-cidr config
3 years ago
Brad Davidson ce5b9347c9 Replace DefaultProxyDialerFn dialer injection with EgressSelector support
3 years ago
Brad Davidson e763fadbba Ensure that WaitForAPIServerReady always re-dials through the loadbalancer
3 years ago
Brad Davidson d93b750326 Don't start embedded kubelet until after apiserver is up
3 years ago
Derek Nola 3e5561daca
Add new `k3s completion` command for shell completion (#5461)
3 years ago
Brad Davidson 13ca10664f Use ListWatch helpers instead of bare List/Watch
3 years ago
Michal Rostecki 5f2a4d4209 server: Allow to enable network policies with IPv6-only
3 years ago
Michal Rostecki c0045f415b agent(netpol): Explicitly enable IPv4 when necessary
3 years ago
Brad Davidson 3d01ca1309 Make supervisor errors parsable by Kubernetes client libs
3 years ago
Brad Davidson a69d635c9b Drop unnecessary intermediate variable
3 years ago
Brad Davidson 333311c7ee Add systemd cgroup controller support
3 years ago
Brad Davidson 418c3fa858
Fix issue with datastore corruption on cluster-reset (#5515)
3 years ago
Derek Nola 3d425e5d20
Secrets Encryption: Add RetryOnConflict around updating nodes (#5495)
3 years ago
Brad Davidson f2ceeb01d9
Fix issue with long-running apiserver endpoints watch (#5478)
3 years ago
Derek Nola 93f9562272
Update Kubernetes to v1.23.6 (#5477)
3 years ago
Manuel Buil 6a8de31a92
Fix default ipv6 cidr (#5467)
3 years ago
Sakala Venkata Krishna Rohit 3e3549e45c
Add s390x arch support for k3s (#5018)
3 years ago
Brad Davidson 7760e2177a Bump etcd to 3.5.3-k3s1
3 years ago
Brad Davidson b12cd62935 Move IPv4/v6 selection into helpers
3 years ago
Brad Davidson 7e447692c5 Fix issue with RKE2 servers hanging on listing apiserver addresses
3 years ago
Brad Davidson 5b2c14b123 Print a helpful error when trying to join additional servers but etcd is not in use
3 years ago
Brad Davidson 99851b0f84 Use core constants for cert user/group values
3 years ago
Terry Cain b6e71ef990 Added support for repeated extra arguments
3 years ago
Roberto Bonafiglia e4d2824fb6
Merge pull request #5420 from rbrtbnfgl/etcd-default-endpoint
3 years ago
Roberto Bonafiglia 9c9adda61b Added default endpoint for IPv6
3 years ago
Roberto Bonafiglia dfb779d09d
Merge pull request #5422 from rbrtbnfgl/fix-flannel-backend-help
3 years ago
Dirk Müller fa0fa8b1d0 Update golangci-lint to 1.45.2
3 years ago
Roberto Bonafiglia 8767395d40 Fixed flannel backend helper text
3 years ago
Deshi Xiao c1095dd015
fix: non-idiomatic returning of boolean expression (#5343)
3 years ago
Roberto Bonafiglia 2037e9179a
Merge pull request #5391 from rbrtbnfgl/wireguard-update
3 years ago
Brad Davidson f37e7565b8 Move the apiserver addresses controller into the etcd package
3 years ago
Roberto Bonafiglia f04c602c07 Updated wireguard-native options and added log message
3 years ago
Roberto Bonafiglia 47abaf362e Added new flannel backend to use wireguard from flannel
3 years ago
Brad Davidson 2a429aac65 Fix crash on early snapshot
3 years ago
Michal Rostecki 9350016de8
Merge pull request #5387 from vadorovsky/kube-router-dual-stack
3 years ago
Brad Davidson 0bf7c09569 Don't print password conversion rate
3 years ago
Brad Davidson 49544e0d49 Allow agents to query non-apiserver supervisors for apiserver endpoints
3 years ago
Brad Davidson af0b496ef3 Add client certificate authentication support to core Authenticator
3 years ago
Brad Davidson e7437d4ad8 Redact datastore and etcd snapshot config from serialization
3 years ago
Michal Rostecki c707948adf netpol: Add dual-stack support
3 years ago
Euan Kemp c2e846dc16 Allow using flannel wireguard backend in a custom config
3 years ago
Roberto Bonafiglia 4afeb9c5c7
Merge pull request #5325 from rbrtbnfgl/fix-etcd-ipv6-url
3 years ago
Roberto Bonafiglia 0746dde758 Fixed http URL on etcd
3 years ago
Roberto Bonafiglia 06c779c57d Fixed loadbalancer in case of IPv6 addresses
3 years ago
Roberto Bonafiglia b66974145c Fixed etcd register
3 years ago
Luther Monson 313aaca547
Merge pull request #5361 from luthermonson/fix-containerd-npipe
3 years ago
Roberto Bonafiglia e29771b9ff Fixed client URL
3 years ago
Brad Davidson 62cc1ed24f Skip setting up client tls when etcd server does not have tls enabled
3 years ago
Luther Monson 13191da58a add a wrapper around the containerd.New call to fix and pass the proper npipe connector
3 years ago
Roberto Bonafiglia dda409b041 Updated localhost address on IPv6 only setup
3 years ago
Brad Davidson 1339626a5b Defragment etcd datastore before clearing alarms
3 years ago
Brad Davidson e811689df9 Fix etcd-only secrets encryption rotation
3 years ago
Brad Davidson d25ae8fbc2 Properly attach secrets-encrypt events to the node resource
3 years ago
Brad Davidson 965d0a08ef Fix log spam due to servicelb event recorder namespace conflict
3 years ago
Brad Davidson 714979bf6a Ensure that apiserver ready channel checks re-dial every time
3 years ago
Roberto Bonafiglia 2285aa699b Fixed etcd URL in case of IPv6 address
3 years ago
Brad Davidson df94b3729f go generate
3 years ago
Brad Davidson 38706eeec0 Defer ensuring node passwords on etcd-only nodes during initial cluster bootstrap
3 years ago
Brad Davidson 3cebde924b Handle empty entries in bootstrap path map
3 years ago
Brad Davidson a93b9b6d53 Update helm-controller
3 years ago
Brad Davidson 66e350ea88 Track upstream changes to kubectl command execution
3 years ago
Brad Davidson 078da46532 Close additional leaked GPRC clients
3 years ago
Derek Nola 1f7abe5dbb
Testing directory and documentation rework. (#5256)
3 years ago
Roberto Bonafiglia ff85faa7de Changed ipv6 config on flannel setup
3 years ago
Roberto Bonafiglia 073f155fc4 Added ipv6 only support with flannel
3 years ago
Roberto Bonafiglia 93346904cf
Merge pull request #5215 from rbrtbnfgl/flannel_0.17
3 years ago
Brian Downs 8083ef5824
fix function arg call (#5234)
3 years ago
Brad Davidson 003e094b45
Populate EtcdConfig in runtime from datastore when etcd is disabled (#5222)
3 years ago
Roberto Bonafiglia 3fabc0703b
Merge pull request #4450 from olljanat/support-ipv6-only
3 years ago
Roberto Bonafiglia f3d81544b1 Fixed log in case of ipv6 only config
3 years ago
Roberto Bonafiglia 0c83f50c4c Added switch case to check netMode
3 years ago
Roberto Bonafiglia 2c39febdd2 Fixed in case of empty address
3 years ago
Roberto Bonafiglia d7d4c891e2 Updated flannel to 0.17
3 years ago
Brad Davidson 44c53743dd Support MixedProtocolLBService and clean up Daemonsets on type change.
3 years ago
Luther Monson 9a849b1bb7
[master] changing package to k3s-io (#4846)
3 years ago
robertlestak a82ac4fdc7 servicelb pool selector
3 years ago
Brad Davidson f090bf2d5e Bootstrap the executor even when the agent is disabled
3 years ago
Brad Davidson a7878db17f Fix etcd-snapshot commands by making setup more consistent.
3 years ago
Brad Davidson 9a48086524 Ignore cluster membership errors when reconciling from temp etcd
3 years ago
Brad Davidson e4846c92b4 Move temporary etcd startup into etcd module
3 years ago
Brad Davidson 555087b9b8 Add function to clear local alarms on etcd startup
3 years ago
Kamil Madac 333248466b
Add http/2 support to API server (#5149)
3 years ago
Brad Davidson 5014c9e0e8 Fix adding etcd-only node to existing cluster
3 years ago
Brad Davidson a1b800f0bf Remove unnecessary copies of etcdconfig struct
3 years ago
Brad Davidson 2989b8b2c5 Remove unnecessary copies of runtime struct
3 years ago
Brad Davidson 54bb65064e Fix cluster bootstrap test
3 years ago
Derek Nola a698ece9c5
Add `--json` flag for `k3s secrets-encrypt status` (#5127)
3 years ago
Brian Downs 40a46e1412
add ability to specify etcd snapshot list output format (#5132)
3 years ago
Derek Nola 142eed1a9f
Create encryption hash file if it doesn't exist (#5140)
3 years ago
Hussein Galal 43b1cb4820
Update to V1.23.4 k3s1 (#5135)
3 years ago
Manuel Buil 062fe63dd1 Fix annoying netpol log
3 years ago
Olli Janatuinen 966f4d6a01 Add support for IPv6 only mode
3 years ago
Derek Nola e28be2912c
Migrate Ginkgo testing framework to V2, consolidate integration tests (#5097)
3 years ago
Hussein Galal 13728058a4
Add k3s etcd restoration integration test (#5014)
3 years ago
Manuel Buil 773c2a4184
Merge pull request #5079 from manuelbuil/michalsPR
3 years ago
Michal Rostecki 4fed9f4052 netpol: Use kube-router as a library
3 years ago
Derek Nola 4f36c82ff7
Check for `--kubeconfig` flag with embedded `kubectl` (#5064)
3 years ago
Ankur Gupta df4147cd57
Update legacy-unknown-cert and legacy-unknown-key (#5057)
3 years ago