carlosedp / cluster-monitoring

Cluster monitoring stack for clusters based on Prometheus Operator
MIT License
740 stars 200 forks source link

Unable to setup exporter's cpu and memory resources #153

Closed kuzm1ch closed 2 years ago

kuzm1ch commented 2 years ago

Step to reproduce: setup resources for exporter

  redis:
    exporter: 
      enabled: true
      image: oliver006/redis_exporter:v1.37.0
      resources:
        requests:
          cpu: 50m
          memory: 50Mi
        limits:
          cpu: 200m
          memory: 150Mi 

Error:

<nil>: Invalid value: "The edited file failed validation": ValidationError(RedisFailover.spec.redis.exporter): unknown field "resources" in com.spotahome.databases.v1.RedisFailover.spec.redis.exporter

version: appVersion: 1.1.0-rc.1

kuzm1ch commented 2 years ago

sorry, wrong repo 🤦