Commit Graph

1071 Commits (8f28de259c7383eadf3820d88d8eb4efd9fe0a5f)

Author SHA1 Message Date
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
Derek Nola d583a99f62
Add server flag to access nonlocal/nondefault k3s server (#5016)
3 years ago
Brad Davidson bc7635f01f Move containerd wait into exported function
3 years ago
Roberto Bonafiglia bb856c67dc
Merge pull request #4952 from rbrtbnfgl/ipv6-nat
3 years ago
Brad Davidson a094dee7dd Update packaged components
3 years ago
Brad Davidson 27fe2c3c1b go generate
3 years ago
Roberto Bonafiglia 8eded2749a Added debug log for IPv6 Masquerading rule
3 years ago
Brad Davidson b1e0f4c8fc Skip CGroup v2 evac when agent is disabled
3 years ago
Roberto Bonafiglia 111c1669fc Added flannel-ipv6-masq flag to enable IPv6 nat
3 years ago
Roberto Bonafiglia 2253f64b2a Added iptables masquerade rules for ipv6 on flannel
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)
3 years ago
Brad Davidson a0cadcd343 Move ClusterResetRestore handling ControlConfig setup
3 years ago
Brad Davidson 5ca206ad3b Fix handling of agent-token fallback to token
3 years ago
Brad Davidson e7464a17f7 Fix use of agent creds for secrets-encrypt and config validate
3 years ago
Lordran 31f1a00b6f
Fix a typo: advertise-up -> advertise-ip (#4827)
3 years ago
Derek Nola 2ac8df3602
Integration tests utilities improvements (#4832)
3 years ago
Luther Monson 66eeabbdfc linter doesn't actually run on windows, found these while getting it running on a windows machine
3 years ago
Derek Nola ff49dcf71e Export default parser
3 years ago
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