---
# System prepended metadata

title: 20210929系上群集Microk8s災難還原
tags: [Documentation, 資訊工程學系, 聯合大學]

---

---
title: '20210929系上群集Microk8s災難還原'
disqus: hackmd
---

20210929系上群集Microk8s災難還原
===

## 索引

[TOC]

## 注意事項

## 狀況分析
```
csie404@microk8s127:~$ microk8s.kubectl get node
NAME          STATUS     ROLES    AGE     VERSION
microk8s131   Ready      <none>   7d16h   v1.21.5-3+e8b6c7dca47a08
microk8s127   NotReady   <none>   8d      v1.21.5-3+e8b6c7dca47a08
microk8s128   NotReady   <none>   7d15h   v1.21.5-3+e8b6c7dca47a08
```

節點 microk8s129、microk8s130異常需要修復群集

## 異常訊息結果
* microk8s129
```
Sep 29 06:46:26 microk8s129 microk8s.daemon-kubelite[2743545]: Error: start node: raft_start(): io: closed segment 0000000009540147-0000000009540350 is past last snapshot snapshot-194-9539540-92844638
Sep 29 06:46:26 microk8s129 microk8s.daemon-kubelite[2743545]: F0929 06:46:26.887214 2743545 daemon.go:67] API Server exited start node: raft_start(): io: closed segment 0000000009540147-0000000009540350 is past last snapshot snapshot-194-9539540-92844638
Sep 29 06:46:26 microk8s129 microk8s.daemon-kubelite[2743545]: goroutine 132 [running]:
```
![](https://i.imgur.com/GHeqgpq.png)

* microk8s130


## Reference and FAQ

* 

:::info
**Find this document incomplete?** Leave a comment!
:::
`
###### tags: `聯合大學` `資訊工程學系` `Documentation`
