[k8s] 取消CPU/内存限制
This commit is contained in:
parent
25a11bfa36
commit
6a854f25c6
@ -37,13 +37,6 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
|
||||||
requests: #资源请求的设置
|
|
||||||
cpu: 0m #Cpu请求,容器启动的初始可用数量
|
|
||||||
memory: 600Mi #内存清楚,容器启动的初始可用数量
|
|
||||||
limits:
|
|
||||||
cpu: 80m
|
|
||||||
memory: 600Mi
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /home/qiuguo/logs
|
- mountPath: /home/qiuguo/logs
|
||||||
name: iot-logs
|
name: iot-logs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user