Closed ruiyaoOps closed 2 years ago
Kubeeye audit and plugins audit exec only once, until delete recreate clusterinsights clusterinsight-sample.
the ClusterInsight just trigger plugins audit by get http://$(pluginname).kubeeye-system.svc/start, and the plugin will report the result to http://kubeeye-controller-manager-service.kubeeye-system.svc/plugins?name=$(pluginname), the plugin name is the unique identifier for the plugin.
/cc @pixiake @zheng1
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: pixiake, ruiyaoOps
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Add kubeeye-kubeeye-controller-manager-service service, to receive the results of plugins.
Modify the logic of plugins, the ClusterInsight just trigger plugins audit, and the plugins results will be written to ClusterInsight through the the kubeeye-kubeeye-controller-manager-service service.
Modify the logic of install/uninstall plugins, the plugin installation files stored in plugin configmap, and create plugin resources by reading the configmap data.
Signed-off-by: yaorui yaorui@yunify.com