Merge branch 'master' of http://47.99.132.106:10081/wulin/qiuguo-iot
This commit is contained in:
commit
a747a279d9
@ -39,14 +39,15 @@ spec:
|
||||
protocol: TCP
|
||||
resources:
|
||||
requests: #资源请求的设置
|
||||
cpu: 0m #Cpu请求,容器启动的初始可用数量
|
||||
memory: 600Mi #内存清楚,容器启动的初始可用数量
|
||||
limits:
|
||||
cpu: 80m
|
||||
memory: 600Mi
|
||||
volumeMounts:
|
||||
- mountPath: /home/qiuguo/logs
|
||||
name: iot-logs
|
||||
- name: host-time
|
||||
readOnly: true
|
||||
mountPath: /etc/localtime
|
||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
@ -56,6 +57,9 @@ spec:
|
||||
- name: iot-logs
|
||||
hostPath:
|
||||
path: /nfs/data/qiuguo/iot/logs
|
||||
- name: host-time
|
||||
hostPath:
|
||||
path: /etc/localtime
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
@ -39,14 +39,15 @@ spec:
|
||||
protocol: TCP
|
||||
resources:
|
||||
requests: #资源请求的设置
|
||||
cpu: 0m #Cpu请求,容器启动的初始可用数量
|
||||
memory: 600Mi #内存清楚,容器启动的初始可用数量
|
||||
limits:
|
||||
cpu: 80m
|
||||
memory: 600Mi
|
||||
volumeMounts:
|
||||
- mountPath: /home/qiuguo/logs
|
||||
name: iot-logs
|
||||
- name: host-time
|
||||
readOnly: true
|
||||
mountPath: /etc/localtime
|
||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
@ -56,6 +57,9 @@ spec:
|
||||
- name: iot-logs
|
||||
hostPath:
|
||||
path: /nfs/data/qiuguo/iot/logs
|
||||
- name: host-time
|
||||
hostPath:
|
||||
path: /etc/localtime
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
@ -40,6 +40,9 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /home/qiuguo/logs
|
||||
name: iot-logs
|
||||
- name: host-time
|
||||
readOnly: true
|
||||
mountPath: /etc/localtime
|
||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
@ -49,6 +52,9 @@ spec:
|
||||
- name: iot-logs
|
||||
hostPath:
|
||||
path: /nfs/data/qiuguo/iot/logs
|
||||
- name: host-time
|
||||
hostPath:
|
||||
path: /etc/localtime
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user