redscholarK零S
三个地址都填上去吧。
ip地址使用英文逗号分隔:
https://github.com/kubesphere/ks-installer/blob/38055b318b8f805af65aedfa5ad4508128b5eb2c/roles/ks-monitor/templates/prometheus-endpointsEtcd.yaml.j2#L12-L14
实际生成的servicemonitor文件:
https://github.com/kubesphere/ks-installer/blob/38055b318b8f805af65aedfa5ad4508128b5eb2c/roles/ks-monitor/templates/prometheus-serviceMonitorEtcd.yaml.j2
如果证书认证不通过需要把证书放到对应的secret中:
https://github.com/kubesphere/ks-installer/blob/38055b318b8f805af65aedfa5ad4508128b5eb2c/roles/ks-monitor/templates/prometheus-prometheus.yaml.j2#L103-L106