helm 获取历史安装的chart的帮助信息

helm 获取历史安装的chart的帮助信息

目前通过helm安装的很多软件包会在安装完成的时候输出一些帮助信息到stdout

这部分内容可能会帮助临时使用一些服务,比如普罗米修斯

helm get  notes prometheus -n prometheus
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/ec2-user/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /home/ec2-user/.kube/config
NOTES:
The Prometheus server can be accessed via port 80 on the following DNS name from within your cluster:
prometheus-server.prometheus.svc.cluster.local

Get the Prometheus server URL by running these commands in the same shell:
  export POD_NAME=$(kubectl get pods --namespace prometheus -l "app.kubernetes.io/name=prometheus,app.kubernetes.io/instance=prometheus" -
  kubectl --namespace prometheus port-forward $POD_NAME 9090

The Prometheus alertmanager can be accessed via port 9093 on the following DNS name from within your cluster:
prometheus-alertmanager.prometheus.svc.cluster.local

Get the Alertmanager URL by running these commands in the same shell:
  export POD_NAME=$(kubectl get pods --namespace prometheus -l "app.kubernetes.io/name=alertmanager,app.kubernetes.io/instance=prometheus"
  kubectl --namespace prometheus port-forward $POD_NAME 9093
#################################################################################
######   WARNING: Pod Security Policy has been disabled by default since    #####
######            it deprecated after k8s 1.25+. use                        #####
######            (index .Values "prometheus-node-exporter" "rbac"          #####
###### .          "pspEnabled") with (index .Values                         #####
######            "prometheus-node-exporter" "rbac" "pspAnnotations")       #####
######            in case you still need it.                                #####
#################################################################################

The Prometheus PushGateway can be accessed via port 9091 on the following DNS name from within your cluster:
prometheus-prometheus-pushgateway.prometheus.svc.cluster.local

Get the PushGateway URL by running these commands in the same shell:
  export POD_NAME=$(kubectl get pods --namespace prometheus -l "app=prometheus-pushgateway,component=pushgateway" -o jsonpath="{.items[0].
  kubectl --namespace prometheus port-forward $POD_NAME 9091

For more information on running Prometheus, visit:
https://prometheus.io/

如上, 可以使用命令:

helm get  notes prometheus -n prometheus

Helm 是一个用于Kubernetes应用部署的工具,它可以将应用程序打包为 chart,然后通过 Helm 进行安装和管理。Helm 中一个常见的功能是依赖其他的 chart,它可以将一个 chart 拆分为多个子 chart,通过子 chart 的安装来完成整个应用的部署。 在 Helm 中,安装chart 是在安装chart 的过程中进行的。当我们使用 Helm 安装一个父 chart 时,Helm 首先会解析父 chart 中的依赖关系,并按照依赖关系的顺序安装这些子 chart。 首先,Helm 会检查父 chart 的配置文件中是否包含依赖项的声明。这些声明指定了子 chart 的名称、版本和存储库。然后,Helm 会根据这些声明查找相应的子 chart,并开始对它们进行安装。 通常情况下,Helm 会按照依赖关系的顺序安装chart。也就是说,如果一个子 chart 依赖于另一个子 chart,那么被依赖的子 chart 会先被安装。这样可以确保依赖关系的正确性,以及子 chart 的依赖项能够被满足。 一旦所有的子 chart 安装完成,Helm 就会继续安装chart。父 chart 的安装过程与普通的chart安装过程类似,它会根据配置文件中的参数进行相应的部署操作,以完成整个应用的部署过程。 综上所述,Helm 的依赖管理功能允许我们将一个复杂的应用程序拆分为多个子 chart,并按照依赖关系的顺序安装它们。这样可以提高应用程序的可维护性,并为应用程序的部署和管理带来便利。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值