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:
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
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"*
3 matches
Mail list logo