kubesphere / kubeeye

KubeEye aims to find various problems on Kubernetes, such as application misconfiguration, unhealthy cluster components and node problems.
https://kubesphere.io
Apache License 2.0
810 stars 126 forks source link

add kubeeye plugins #186

Closed ruiyaoOps closed 2 years ago

ruiyaoOps commented 2 years ago

Support access to third-party plugins audit results

ks-ci-bot commented 2 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ruiyaoOps

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubesphere/kubeeye/blob/experiment/OWNERS)~~ [ruiyaoOps] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ruiyaoOps commented 2 years ago

/cc @zheng1 @panzhen6668 @pixiake

ruiyaoOps commented 2 years ago

enable to fetch the results by api, such as:curl -XPOST http://kubebench-controller-manager-metrics-service.kubeeye-system.svc/plugins

pixiake commented 2 years ago

enable to fetch the results by api, such as:curl -XPOST http://kubebench-controller-manager-metrics-service.kubeeye-system.svc/plugins

  1. I think this url may not need to add a subpath and xxx-controller-manager-metrics-service this name may be confusing. Especially, some plugins may not use the operator method. So I think it might be better to directly use the plugin's name as the service name. such as: http://kubebench.kubeeye-system.svc
  2. HTTP GET can be used directly if you just get information and don't need to submit data.