Prometheus支持通过Operator方式安装K8s集群,本文介绍Operator安装过程中的Helm命令的各参数说明。
使用Operator方式安装K8s集群的Helm示例命令如下:
helm install arms-prom-operator aliyun/ack-arms-prometheus \
--namespace arms-prom \
--set controller.cluster_id=123 \
--set controller.uid="456" \
--set controller.region_id=eu-central-1 \
--set controller.vpc_prefix=registry.
参数 | 说明 |
---|---|
namespace | Helm目标命名空间。 |
controller.cluster_id | 当前K8s所在集群的Cluster ID。 |
controller.uid | 阿里云账号的User ID。 |
controller.region_id | 当前K8s所在集群的Region ID。 |
controller.vpc_prefix | 选择镜像拉取的网络环境。
|