add cpu and mem limit
parent
d1c1239840
commit
d59e35d5f3
|
@ -1,4 +1,3 @@
|
|||
# deployment
|
||||
---
|
||||
apiVersion: platform.confluent.io/v1beta1
|
||||
kind: Zookeeper
|
||||
|
@ -43,6 +42,13 @@ spec:
|
|||
jvm:
|
||||
- "-Xmx512m"
|
||||
podTemplate:
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "4G"
|
||||
cpu: "1"
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
|
|
Loading…
Reference in New Issue