add architecture

Signed-off-by: Forest-L <lilin@yunify.com>
This commit is contained in:
Forest-L 2021-01-13 15:51:00 +08:00
parent fad74820f1
commit 8a977c462a
3 changed files with 10 additions and 5 deletions

View File

@ -2,6 +2,11 @@
Kubeye aims to find various problems on Kubernetes, such as application misconfiguration, cluster components unhealthy and node problems(using [Node-Problem-Detector](https://github.com/kubernetes/node-problem-detector)). Besides predefined rules, it also supports custom defined rules.
## Architecture
Kubeye gets cluster diagnostic data by calling the Kubernetes API, by regular matching of key error messages in logs and by rule matching of container syntax. See Architecture for details.
![Image](./docs/Kubeye-Architecture.jpg?raw=true)
## How to use
- Install Kubeye on your machine
- Download pre built executables from [Releases](https://github.com/kubesphere/kubeye/releases).
@ -161,4 +166,4 @@ kube-system Warning calico-kube-controllers Deployment 2020-11-27T17:1
kube-system Warning nodelocaldns DaemonSet 2020-11-27T17:18:31+08:00 [runAsPrivileged cpuLimitsMissing]
default Warning nginx Deployment 2020-11-27T17:18:31+08:00 [livenessProbeMissing cpuLimitsMissing]
kube-system Warning coredns Deployment 2020-11-27T17:18:31+08:00 [cpuLimitsMissing]
```
```

View File

@ -10,12 +10,12 @@ Node not ready. The error log shows the following error message:
##### Cause:
Docker service exception
##### Resolving the problem:
1. On the corresponding node, see if the docker service is Running or exist?, such as the following command:
1. Go to the corresponding node and check if the docker service is running or exist by the following command:
`systemctl status docker`
2. If it's not running, start it, such as the following command:
2. If it's not running, start the docker service with the following command:
`systemctl start docker`
3. If it's not exist, it means that the corresponding node is reset and need to add node or delete node. prefer to [add/delete](https://github.com/kubesphere/kubekey#add-nodes)
4. If start fails, you can open two terminals on the same machine, one with the command view docker logs and the other with start docker command. such as the following command:
3. If does not exist, it means that the corresponding node is reset and need to be added or deleted. prefer to [add/delete](https://github.com/kubesphere/kubekey#add-nodes)
4. If start fails, open two terminals on the same machine, one with the command view docker logs and the other with start docker command. such as the following command:
one terminal: `journalctl -u docker -f`, other terminal: `systemctl start docker`
## Pod-level issues

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB