Re: Adding annotations and limits of kafka connect created pods
Jakub Scholz
Hi,
For specifying the resources, you can do something like this: # ... resources: requests: memory: 1Gi cpu: 500m limits: memory: 2Gi cpu: 1000m # ... For the annotations, it depends what exactly do you want to annotate. But basically you can use this feature: https://strimzi.io/docs/latest/full.html#assembly-customizing-deployments-str Your YAML would look something like this: kind: KafkaConnect metadata: name: my-connect # ... spec: # ... template: deployment: metadata: annotations: myanno: myvalue pod: metadata: annotations: myanno: myvalue # ... Thanks & Regards Jakub On Sun, Feb 23, 2020 at 10:42 AM <alonisser@...> wrote: Trying to add pod annotations (for our log connector) and resource request/limits to the KafkaConnect created resources |
|