Re: [prometheus-users] Not able add remote_write in Prometheus config for k8s monitoring

2023-09-18 Thread Prashant Singh
Yes , got solution , below code is working for config and also working remote_write . config file : apiVersion: v1 kind: ConfigMap metadata: name: prometheus-config namespace: monitoring metadata: name: prometheus-server-conf namespace: monitoring labels: name:

Re: [prometheus-users] Not able add remote_write in Prometheus config for k8s monitoring

2023-09-18 Thread Stuart Clark
On 2023-09-18 07:20, Prashant Singh wrote: Hello, I am not able add remote_write detail in k8s prometheus config file. kubectl version: 1.27 error : Error from server (BadRequest): error when creating "config-map.yaml": ConfigMap in version "v1" cannot be handled as a ConfigMap: strict

[prometheus-users] Not able add remote_write in Prometheus config for k8s monitoring

2023-09-18 Thread Prashant Singh
Hello, I am not able add remote_write detail in k8s prometheus config file. kubectl version: 1.27 error : *Error from server (BadRequest): error when creating "config-map.yaml": ConfigMap in version "v1" cannot be handled as a ConfigMap: strict decoding error: unknown field "remote_write"*