{ "id": "system-monitor.addons.openkuboard.github.io", "name": "K8S 资源监控套件", "version": "1.0.0", "lastUpdate": "2026-06-27", "maintainer": "devops", "scripts": [ "initialize.js" ], "k8s": [ "k8s/namespace.yaml", "k8s/alertmanagerConfigCustomResourceDefinition.yaml", "k8s/alertmanagerCustomResourceDefinition.yaml", "k8s/podmonitorCustomResourceDefinition.yaml", "k8s/probeCustomResourceDefinition.yaml", "k8s/prometheusCustomResourceDefinition.yaml", "k8s/prometheusruleCustomResourceDefinition.yaml", "k8s/servicemonitorCustomResourceDefinition.yaml", "k8s/thanosrulerCustomResourceDefinition.yaml", "k8s/clusterRole.yaml", "k8s/clusterRoleBinding.yaml", "k8s/serviceAccount.yaml", "k8s/deployment.yaml", "k8s/service.yaml", "k8s/resources/alertmanager-main.yaml", "k8s/resources/apiservice-v1beta1.metrics.k8s.io.yaml", "k8s/resources/clusterrole-kube-state-metrics.yaml", "k8s/resources/clusterrole-node-exporter.yaml", "k8s/resources/clusterrole-prometheus-adapter.yaml", "k8s/resources/clusterrole-prometheus-k8s.yaml", "k8s/resources/clusterrole-resource-metrics-server-resources.yaml", "k8s/resources/clusterrole-system-aggregated-metrics-reader.yaml", "k8s/resources/clusterrolebinding-kube-state-metrics.yaml", "k8s/resources/clusterrolebinding-node-exporter.yaml", "k8s/resources/clusterrolebinding-prometheus-adapter.yaml", "k8s/resources/clusterrolebinding-prometheus-k8s.yaml", "k8s/resources/clusterrolebinding-resource-metrics-system-auth-delegator.yaml", "k8s/resources/configmap-adapter-config.yaml", "k8s/resources/configmap-grafana-dashboards.yaml", "k8s/dashboard-definitions.yaml", "k8s/resources/daemonset-node-exporter.yaml", "k8s/resources/deployment-grafana.yaml", "k8s/resources/deployment-kube-state-metrics.yaml", "k8s/resources/deployment-prometheus-adapter.yaml", "k8s/resources/prometheus-k8s.yaml", "k8s/resources/prometheusrule-prometheus-k8s-rules.yaml", "k8s/resources/role-prometheus-k8s-config.yaml", "k8s/resources/role-prometheus-k8s.yaml", "k8s/resources/rolebinding-prometheus-k8s-config.yaml", "k8s/resources/rolebinding-prometheus-k8s.yaml", "k8s/resources/rolebinding-resource-metrics-auth-reader.yaml", "k8s/resources/secret-alertmanager-main.yaml", "k8s/resources/secret-grafana-datasources.yaml", "k8s/resources/service-alertmanager-main.yaml", "k8s/resources/service-grafana.yaml", "k8s/resources/service-kube-state-metrics.yaml", "k8s/resources/service-node-exporter.yaml", "k8s/resources/service-prometheus-adapter.yaml", "k8s/resources/service-prometheus-k8s.yaml", "k8s/resources/serviceaccount-alertmanager-main.yaml", "k8s/resources/serviceaccount-grafana.yaml", "k8s/resources/serviceaccount-kube-state-metrics.yaml", "k8s/resources/serviceaccount-node-exporter.yaml", "k8s/resources/serviceaccount-prometheus-adapter.yaml", "k8s/resources/serviceaccount-prometheus-k8s.yaml", "k8s/resources/servicemonitor-alertmanager.yaml", "k8s/resources/servicemonitor-coredns.yaml", "k8s/resources/servicemonitor-grafana.yaml", "k8s/resources/servicemonitor-kube-apiserver.yaml", "k8s/resources/servicemonitor-kube-controller-manager.yaml", "k8s/resources/servicemonitor-kube-scheduler.yaml", "k8s/resources/servicemonitor-kube-state-metrics.yaml", "k8s/resources/servicemonitor-kubelet.yaml", "k8s/resources/servicemonitor-node-exporter.yaml", "k8s/resources/servicemonitor-prometheus-adapter.yaml", "k8s/resources/servicemonitor-prometheus-operator.yaml", "k8s/resources/servicemonitor-prometheus.yaml" ], "resources": [ "README.md", "extensions.json", "alert-config.json", "alert-config-schema.json" ], "isGlobal": true, "info": { "description": "基于 Prometheus/Grafana 提供 Kubernetes 集群资源监控能力,包括 CPU、内存、磁盘、网络等资源层指标;适配 Kubernetes 1.35。", "document": "", "important": "安装前请在套件详情页配置 Prometheus StorageClass 与存储卷大小;需集群已启用 metrics-server 或 kubelet/cAdvisor 指标采集。" }, "parameters": { "NODE_EXPORTER_PORT": "9100", "PROMETHEUS_REPLICAS": "1", "PROMETHEUS_STORAGE_CLASS": "please-provide-a-valid-storage-class-name", "PROMETHEUS_STORAGE_SIZE_PER_VOLUME": "20Gi", "KUBERNETES_CLUSTER": "default", "MONITOR_NAMESPACE": "openkuboard", "MONITOR_IMAGE_REGISTRY": "" }, "parameterDefs": [ { "name": "NODE_EXPORTER_PORT", "required": true, "default": "9100", "description": "Node Exporter 监听端口(hostPort)。" }, { "name": "PROMETHEUS_REPLICAS", "required": true, "default": "1", "description": "Prometheus 实例数量(test 集群建议 1)。" }, { "name": "PROMETHEUS_STORAGE_CLASS", "required": true, "default": "please-provide-a-valid-storage-class-name", "description": "为 Prometheus 提供持久化存储的 StorageClass 名称。" }, { "name": "PROMETHEUS_STORAGE_SIZE_PER_VOLUME", "required": true, "default": "20Gi", "description": "每个 Prometheus 实例的 PVC 容量。" }, { "name": "KUBERNETES_CLUSTER", "required": true, "default": "default", "description": "Kubernetes 集群在平台中的名称标识,告警配置 Prometheus URL 等将替换此占位符。" }, { "name": "MONITOR_NAMESPACE", "required": true, "default": "openkuboard", "description": "Prometheus / Grafana / Alertmanager 等组件安装的 Kubernetes 命名空间。" }, { "name": "MONITOR_IMAGE_REGISTRY", "required": false, "default": "", "description": "镜像仓库主机覆盖(默认留空,使用各组件官方公共源 quay.io/registry.k8s.io/docker.io)。若需走内网镜像仓库,填入主机名并自行替换清单中的镜像地址。" } ], "parameterExtraSteps": "
openkuboard 命名空间(可在套件参数中修改 MONITOR_NAMESPACE);安装前请确认 StorageClass 可用。