aenix-io / etcd-operator

New generation community-driven etcd-operator!
https://etcd.aenix.io
Apache License 2.0
83 stars 14 forks source link

Automatically set `quota-backend-bytes` option to 95% from requested size: #211

Closed kvaps closed 3 months ago

kvaps commented 3 months ago

eg.:

spec:
  storage:
    volumeClaimTemplate:
      metadata: {}
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 20Gi

should also implicitly set:

spec:
  options:
    quota-backend-bytes: "20401094656"

also we have to check if this option not applied by user explicitly

currntly we do this with Helm, see https://github.com/aenix-io/cozystack/pull/133/files