hello guys, I want to add TLScertification to alermanager, i create cert and key with secret, but after i edited the manifest/alertmanager-alertmanager.yaml and alertmanager-serviceMonitor.yaml, it is still not working
i add those to alertmanager-alertmanager.yaml:
and edit the alertmanager-serviceMonitor.yaml
spec:
endpoints:
- interval: 30s
port: https
scheme: https
tlsConfig:
insecureSkipVerify: true
interval: 30s
port: web
interval: 30s
port: reloader-web
but when check the prometheus website, the target still watch the http endpoint of alertmanager-main,so i guess there are some format error in my edit,but i ddnt find document about this.
I would appreciate it if you could teach me edit the yaml to add TLS ,or point the document about this !
hello guys, I want to add TLScertification to alermanager, i create cert and key with secret, but after i edited the manifest/alertmanager-alertmanager.yaml and alertmanager-serviceMonitor.yaml, it is still not working i add those to alertmanager-alertmanager.yaml:
and edit the alertmanager-serviceMonitor.yaml spec: endpoints: - interval: 30s port: https scheme: https tlsConfig: insecureSkipVerify: true
but when check the prometheus website, the target still watch the http endpoint of alertmanager-main,so i guess there are some format error in my edit,but i ddnt find document about this. I would appreciate it if you could teach me edit the yaml to add TLS ,or point the document about this !
env: kubernetes 1.25.7 kube-prometheus release:1.12