Reputation: 93
I am trying to retrieve information from Prometheus to the rest of the nodes of my cluster of Kubernetes.
I suspect the error is here and I don't know how to fix it.
Thanks in advance
Upvotes: 0
Views: 275
Reputation: 93
The solution is simple, my problem was related to SSL, all I have done is skip the ssl and it works only with http.
To me putting the tsl_config section with this, the jobs that failed already work correctly for me:
tls_config:
ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecure_skip_verify: true
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
The important thing is this: insecure_skip_verify: true and the indentation that has to be as it is above.
Upvotes: 1