Commit Graph

159 Commits (88df9583cad78310867dedb28f784c5d4b5f45ba)

Author SHA1 Message Date
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 6fad63583b Only listen on loopback when resetting
2 years ago
Brad Davidson fb0a342a20 Sanitize filenames for use in configmap keys
2 years ago
Brad Davidson ce5b9347c9 Replace DefaultProxyDialerFn dialer injection with EgressSelector support
3 years ago
Brad Davidson 418c3fa858
Fix issue with datastore corruption on cluster-reset (#5515)
3 years ago
Brad Davidson f2ceeb01d9
Fix issue with long-running apiserver endpoints watch (#5478)
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
Roberto Bonafiglia 9c9adda61b Added default endpoint for IPv6
3 years ago
Brad Davidson f37e7565b8 Move the apiserver addresses controller into the etcd package
3 years ago
Brad Davidson 2a429aac65 Fix crash on early snapshot
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
Brad Davidson 62cc1ed24f Skip setting up client tls when etcd server does not have tls enabled
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
Roberto Bonafiglia 2285aa699b Fixed etcd URL in case of IPv6 address
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
Luther Monson 9a849b1bb7
[master] changing package to k3s-io (#4846)
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
Brad Davidson 5014c9e0e8 Fix adding etcd-only node to existing cluster
3 years ago
Brad Davidson 2989b8b2c5 Remove unnecessary copies of runtime struct
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
Brian Downs effcb15adb
Adds the ability to compress etcd snapshots (#4866)
3 years ago
Derek Nola 2ac8df3602
Integration tests utilities improvements (#4832)
3 years ago
Brad Davidson a5c6e6a68a Fix panic checking name of uninitialized etcd member
3 years ago
Hussein Galal d71b335871
Fix snapshot restoration on fresh nodes (#4737)
3 years ago
Brian Downs a6fe2c0bc5
Resolve restore bootstrap (#4704)
3 years ago
Manuel Buil 1b3187ea07 Check HA network parameters
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
Chris Kim f18b3252c0
[master] Add etcd extra args support for K3s (#4463)
3 years ago
Brian Downs adaeae351c
update bootstrap logic (#4438)
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 0452f017c1
Add etcd s3 timeout (#4207)
3 years ago
Brad Davidson 5a923ab8dc Add containerd ready channel to delay etcd node join
3 years ago
Brian Downs ac7a8d89c6
Add ability to reconcile bootstrap data between datastore and disk (#3398)
3 years ago
Brian Downs f4cea90cb9
set transport to skip verify if se skip flag passed (#4102)
3 years ago
Hussein Galal 7826407a2e
Make sure there are no duplicates in etcd member list (#4025)
3 years ago
Brad Davidson 086ca8ba6a Fix premature etcd shutdown when joining an existing cluster
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
Chris Kim 928b8531c3
[master] Add `etcd-member-management` controller to K3s (#4001)
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
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
Brad Davidson b8add39b07 Bump kine for metrics/tls changes
3 years ago
Derek Nola 60297a1bbe
Creation of K3s integration test Sonobuoy plugin (#3931)
3 years ago
Derek Nola 114b30277f
Redux: Enable K3s integration test to run on existing cluster (#3905)
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 dc14f370c4 Update wrangler to v0.8.5
3 years ago
Brad Davidson 872855015c Update etcd to v3.5.0
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
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
Hussein Galal bc96ffb5f3
Fix Node stuck at deletion (#3771)
3 years ago
Derek Nola 21c8a33647
Introduction of Integration Tests (#3695)
3 years ago
Derek Nola bba49ea447
Fix to allow prune to correctly cleanup custom named snapshots (#3649)
3 years ago
Derek Nola c833183517
Add unit tests for pkg/etcd (#3549)
3 years ago
Hussein Galal f5fbb9a9a8
Export cli server flags and etcd restoration functions (#3527)
3 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
Brian Downs 6ee28214fa
Add the ability to prune etcd snapshots (#3310)
4 years ago
Brian Downs bcd8b67db4
Add the ability to list etcd snapshots (#3303)
4 years ago
Brian Downs e998cd110d
Add the ability to delete an etcd snapshot locally or from S3 (#3277)
4 years ago
Brian Downs beb0d8397a reference node name when needed
4 years ago
Brian Downs c5ad71ce0b
Collect and Store etcd Snapshots and Metadata (#3239)
4 years ago
Brian Downs 66ed6efd57 Resolve local retention issue when S3 in use.
4 years ago
Hussein Galal 73df65d93a
remove etcd data dir when etcd is disabled (#3059)
4 years ago
Brian Downs 7c99f8645d
Have Bootstrap Data Stored in etcd at Completed Start (#3038)
4 years ago
Brad Davidson c0d129003b Handle loadbalancer port in TIME_WAIT
4 years ago
Brad Davidson 7cdfaad6ce
Always use static ports for client load-balancers (#3026)
4 years ago
Brian Downs 4d1f9eda9d
Etcd Snapshot/Restore to/from S3 Compatible Backends (#2902)
4 years ago
galal-hussein d6124981d5 remove etcd member if disable etcd is passed
4 years ago
Hussein Galal 5749f66aa3
Add disable flags for control components (#2900)
4 years ago
Brad Davidson 071de833ae Fix typo in field tag
4 years ago
Yuriy 06fda7accf
Add functionality to bind custom IP address for Etcd metrics endpoint (#2750)
4 years ago
Brian Downs 13229019f8
Add ability to perform an etcd on-demand snapshot via cli (#2819)
4 years ago
MonzElmasry 86f68d5d62
change etcd dir permission if it exists
4 years ago
Brad Davidson 8e4d3e645b Restore legacy master role for etcd nodes
4 years ago
Brad Davidson 63f2211b31 deprecate the "node-role.kubernetes.io/master" label / taint
4 years ago
Hussein Galal fadc5a8057
Add tombstone file to etcd and catch errc etcd channel (#2592)
4 years ago
Menna Elmasry 523ccaf3f2
Merge pull request #2448 from MonzElmasry/new_b
4 years ago
MonzElmasry e8436cc76b
Make etcd use node private ip
4 years ago
Hussein Galal fcd18d1b6e
skip node delete from removed member (#2413)
4 years ago
Brad Davidson de18528412
Make etcd voting members responsible for managing learners (#2399)
4 years ago
Hussein Galal 373449ec0a
Allow for multiple etcd snapshot restoration (#2307)
4 years ago
Brad Davidson 703ba5cde7 Add a bunch of doc comments
4 years ago
Brad Davidson f59e8fc21b Fix etcd directory permissions
4 years ago