资讯详情

【consul】在阿里云kubernetes集群上(AKS)通过Helm 安装consul集群

官方文档: https://www.consul.io/docs/k8s/installation/install

官方文件总会有一些坑。 以下是我整理的安装文件:

#添加官方helm仓库 helm repo add hashicorp https://helm.releases.hashicorp.com  #确定可安装版本 helm search repo hashicorp/consul  #使用默认配置安装,请注意helm 3.7版本,如果报Error: unknown flag: --create-namespace 说明你的helm版本太低了 helm install consul hashicorp/consul --set global.name=consul --create-namespace -n consul  ##安装自定义配置文件 helm install consul hashicorp/consul --set global.name=consul --create-namespace -n consul -f config.yaml   #自定义配置文件内容config.yaml    global:     name: consul     # Bootstrap ACLs within Consul. This is highly recommended.     acls:       manageSystemACLs: true     # Gossip encryption     gossipEncryption:       autoGenerate: true   # Configure your Consul servers in this section.   server:     # Specify three servers that wait until all are healthy to bootstrap the Consul cluster.     replicas: 3     storage: 20Gi     st

标签: aks33000蒸发压力变送器

锐单商城拥有海量元器件数据手册IC替代型号,打造 电子元器件IC百科大全!

锐单商城 - 一站式电子元器件采购平台