移除 Grafana 和 Alertmanager 安装 kube-prometheus-stack。

huangapple go评论76阅读模式
英文:

Remove Grafana and Alertmanager while installing kube-prometheus-stack

问题

I want to install the kube-prometheus-stack (https://github.com/prometheus-operator/kube-prometheus) but exclude Grafana and Alertmanager from the helm install as I am installing them separately.

我想安装 kube-prometheus-stack(https://github.com/prometheus-operator/kube-prometheus),但要在Helm安装时排除 GrafanaAlertmanager,因为我要单独安装它们。

I would like to install only the following components:

我只想安装以下组件:

  • Prometheus Operator

  • Prometheus

  • Prometheus node-exporter

  • Prometheus Adapter for Kubernetes Metrics APIs

  • kube-state-metrics

  • Prometheus操作员

  • Prometheus

  • Prometheus节点导出器

  • 用于Kubernetes Metrics API的Prometheus适配器

  • kube-state-metrics

I tried to create a values.yaml file locally and install using helm chart but I am not successful doing so.

我尝试在本地创建一个 values.yaml 文件并使用Helm图表进行安装,但未成功。

What's the best way to do this?

如何最好地实现这一目标?

TIA. (Thanks in advance)

谢谢提前。

英文:

I want to install the kube-prometheus-stack (https://github.com/prometheus-operator/kube-prometheus) but exclude Grafana and Alertmanager from the helm install as I am installing them separately.

I would like to install only the following components:

  • Prometheus Operator
  • Prometheus
  • Prometheus node-exporter
  • Prometheus Adapter for Kubernetes Metrics APIs
  • kube-state-metrics

I tried to create a values.yaml file locally and install using helm chart but I am not successful doing so.

What's the best way to do this?

TIA.

答案1

得分: 2

以下是翻译好的部分:

这些是kube-prometheus-stack Helm 图表中的子图表(依赖项)。通常,所有子图表都有类似以下的内容:

## subchartname:
##    enabled: true
grafana:
  enabled: false

您还可以在Chart.yaml文件的dependencies部分查看启用/禁用依赖项的条件键。

链接:

英文:

Those are subcharts(dependencies) in kube-prometheus-stack helm chart. usually all subcharts have something like this:

## subchartname:
##    enabled: true
grafana:
  enabled: false

and also You can check dependencies section in Chart.yaml file and see what is the condition key to enable/disable a dependency.

Links:

huangapple
  • 本文由 发表于 2023年4月7日 00:51:22
  • 转载请务必保留本文链接:https://go.coder-hub.com/75951940.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定