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