炫意html5
最早CSS3和HTML5移动技术网站之一

helm 部署 elasticsearch 报错 “can’t evaluate field master in type interface”

helm 部署 elasticsearch master 时报错

Error: template: elasticsearch/templates/statefulset.yaml:303:27: executing "elasticsearch/templates/statefulset.yaml" at <.Values.roles.master>: can't evaluate field master in type interface {}

values.yaml

clusterName: "recomm-es"
replicas: 2
minimumMasterNodes: 1
roles:
- master

请问如何解决?

回答

被帮助文档误导了,正确的配置是

roles:
  master: "true"

炫意HTML5 » helm 部署 elasticsearch 报错 “can’t evaluate field master in type interface”

Java基础教程Android基础教程