Kubernetes etcd 패닉: store.keyindex: 예상치 못한 작은 버전으로 넣기

Kubernetes etcd 패닉: store.keyindex: 예상치 못한 작은 버전으로 넣기

Kubernetes 클러스터가 비정상적으로 종료된 후 API 서버가 작동하지 않았습니다. 몇 가지 조사 끝에 각 노드의 각 etcd 멤버에서 다음 오류를 발견했습니다.

클러스터를 어떻게 복구할 수 있나요?

마스터1

2021-01-12 13:34:54.273559 I | etcdserver: recovered store from snapshot at index 143742270
2021-01-12 13:34:54.281853 I | mvcc: restore compact to 127098354
2021-01-12 13:34:54.310003 C | mvcc: store.keyindex: put with unexpected smaller revision [{127097381 0} / {127099854 0}]
panic: store.keyindex: put with unexpected smaller revision [{127097381 0} / {127099854 0}]
# ... stack trace ...

마스터2

panic: freepages: failed to get all reachable pages (page 3630520571184623672: out of bounds: 11503)
# ... stack trace ...

마스터3

2021-01-13 12:10:35.428458 I | etcdserver: recovered store from snapshot at index 143735303
2021-01-13 12:10:35.437350 I | mvcc: restore compact to 127098354
2021-01-13 12:10:35.481940 C | mvcc: store.keyindex: put with unexpected smaller revision [{127097229 0} / {127099849 0}]
panic: store.keyindex: put with unexpected smaller revision [{127097229 0} / {127099849 0}]
# ... stack trace ...

관련 정보