Commit Graph

159 Commits (82cfacb2f30cff9913a5317265e12d725d1034b4)

Author SHA1 Message Date
Brad Davidson 3576ed4327 Clean up snapshotDir create/exists logic
9 months ago
Brad Davidson 82432a2df7 Fix issue with etcd node name missing hostname
9 months ago
Derek Nola fae41a8b2a Rename AgentReady to ContainerRuntimeReady for better clarity
9 months ago
Brad Davidson de825845b2 Bump kine and set NotifyInterval to what the apiserver expects
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 6ec1926f88 Add check for etcd-snapshot-dir and fix panic in Walk
10 months ago
Brad Davidson 4005600d4e Fix excessive retry on snapshot reconcile
10 months ago
Vitor Savian 9a70021a9e Error getting node in setEtcdStatusCondition
11 months ago
Vitor Savian 4a92ced8ee Handle etcd status condition when cluster reset and disable etcd
11 months ago
Brad Davidson 319dca3e82 Fix nil map in full snapshot configmap reconcile
11 months ago
Brad Davidson 1e663622d2 Fix the OTHER log message that prints the wrong variable
11 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 2088218c5f Fix issue with snapshot metadata configmap
1 year ago
Vitor Savian c5cd7b3d65
Added etcd status condition
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 9597ea1183 Start etcd client before ensuring self removal
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 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 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 8c73fd670b Disable HTTP on main etcd client port
1 year ago
Vitor Savian e83b1ba4aa
Fixed the etcd retention to delete orphaned snapshots based on the date (#8177)
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
Brad Davidson e61fde93c1 Fix MemberList error handling and incorrect etcd-arg passthrough
2 years ago
Brad Davidson 91afb38799 Retry cluster join on "too many learners" error
2 years ago
Brad Davidson d95980bba3 Lock bootstrap data with empty key to prevent conflicts
2 years ago
Brad Davidson b010db0cff Ensure that loopback is used for the advertised address when resetting
2 years ago
Brad Davidson 0c302f4341 Fix etcd member deletion
2 years ago
Brad Davidson 3d146d2f1b Allow for multiple sets of leader-elected controllers
2 years ago
Brad Davidson a298bfdb18 Add jitter to scheduled snapshots and retry harder on conflicts
2 years ago
Derek Nola 06d81cb936
Replace deprecated ioutil package (#6230)
2 years ago
Derek Nola 4c0bc8c046
Update etcd error to match correct url (#5909)
2 years ago
Brad Davidson 5eaa0a9422 Replace getLocalhostIP with Loopback helper method
2 years ago