[update]修改环境变量
This commit is contained in:
parent
de65a7711b
commit
6f2035c942
@ -38,9 +38,15 @@ spec:
|
|||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
|
requests: #资源请求的设置
|
||||||
|
cpu: 0m #Cpu请求,容器启动的初始可用数量
|
||||||
|
memory: 600Mi #内存清楚,容器启动的初始可用数量
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 80m
|
||||||
memory: 600Mi
|
memory: 600Mi
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /nfs/data/qiuguo/iot/logs
|
||||||
|
name: /home/qiuguo
|
||||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
|
|||||||
@ -38,9 +38,15 @@ spec:
|
|||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
|
requests: #资源请求的设置
|
||||||
|
cpu: 0m #Cpu请求,容器启动的初始可用数量
|
||||||
|
memory: 600Mi #内存清楚,容器启动的初始可用数量
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 80m
|
||||||
memory: 600Mi
|
memory: 600Mi
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /nfs/data/qiuguo/iot/logs
|
||||||
|
name: /home/qiuguo
|
||||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
|
|||||||
@ -38,9 +38,15 @@ spec:
|
|||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
|
requests: #资源请求的设置
|
||||||
|
cpu: 0m #Cpu请求,容器启动的初始可用数量
|
||||||
|
memory: 600Mi #内存清楚,容器启动的初始可用数量
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 80m
|
||||||
memory: 600Mi
|
memory: 600Mi
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /nfs/data/qiuguo/iot/logs
|
||||||
|
name: /home/qiuguo
|
||||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user