How do you set spicedb pod size when
# spicedb
d
How do you set spicedb pod size when using the custom
SpiceDbCluster
k8s object? Im not seeing that in the docs
v
you use the
patch
section, which let's you patch any bits of the Deployment. Let me show you an example:
Copy code
apiVersion: authzed.com/v1alpha1
kind: SpiceDBCluster
metadata:
  name: test
  namespace: test
spec:
  channel: rapid
  config:
    datastoreEngine: cockroachdb
  patches:
    - kind: Deployment
      patch:
        spec:
          template:
            spec:
              containers:
                - name: spicedb
                  resources:
                    limits:
                      cpu: 500m
                      memory: 512Mi
                    requests:
                      cpu: 500m
                      memory: 512Mi
d
This is perfect thanks!
6 Views