You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have the latest vault installed in our k8s cluster via helm, and it is activated to in prometheus so we can scrape the metrics and get data from vault status in grafana. Usually it works fine. But every time we deploy a new upgrade for vault or prometheus and the pods need to be restarted. The endpoint seems to disappear. In prometheus dashboard we get the error:
///v1/sys/metrics?format=prometheus": unsupported protocol scheme with state down.
The issue gets kinda resolved after multiple restart of prometheus-server and vault pods. But that doesn't seem like a long term solution.
Vault configuration:
We have the latest vault installed in our k8s cluster via helm, and it is activated to in prometheus so we can scrape the metrics and get data from vault status in grafana. Usually it works fine. But every time we deploy a new upgrade for vault or prometheus and the pods need to be restarted. The endpoint seems to disappear. In prometheus dashboard we get the error:
///v1/sys/metrics?format=prometheus": unsupported protocol scheme with state down.
The issue gets kinda resolved after multiple restart of prometheus-server and vault pods. But that doesn't seem like a long term solution.
Vault configuration:
`server:
image:
tag: 1.16.2
annotations:
iam.amazonaws.com/role: arn:aws:iam::{{ .Values.aws.account }}:role/vault-{{ .Values.environmentName }}-oidc-role
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::{{ .Values.aws.account }}:role/vault-{{ .Values.environmentName }}-oidc-role
volumes:
- name: node-cert
secret:
secretName: vault-node-cert
volumeMounts:
- mountPath: /etc/certs
name: node-cert
readOnly: true
ha:
enabled: true
replicas: 3
apiAddr: vault.{{ .Values.dnsSubdomain }}:8200
config: |
ui = true
service:
enabled: true
port: 8200
targetPort: 8200
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-dns
nginx.ingress.kubernetes.io/backend-protocol: https
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
ingressClassName: nginx-internal
pathType: Prefix
activeService: false
hosts:
- host: vault.{{ .Values.dnsSubdomain }}
paths:
- /
tls:
- secretName: vault-tls
hosts:
- vault.{{ .Values.dnsSubdomain }} `
Scrape config:
VAULT
Any suggestions, or something we are missing?
Thank you in advanced!
The text was updated successfully, but these errors were encountered: