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