Merge remote-tracking branch 'origin/sim' into sim
This commit is contained in:
@ -24,10 +24,9 @@ spec:
|
|||||||
prometheus.io/jl-pod: 'true'
|
prometheus.io/jl-pod: 'true'
|
||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: log
|
- name: log
|
||||||
persistentVolumeClaim:
|
hostPath:
|
||||||
claimName: log-pvc
|
path: /var/lib/docker/log/349553515466-preprod/default-group/all
|
||||||
readOnly: false
|
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
@ -46,26 +45,26 @@ spec:
|
|||||||
- name: log
|
- name: log
|
||||||
mountPath: /log
|
mountPath: /log
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 18012 #[8] 容器需要监听的端口号,与配置文件中的server.port参数相同,与参数[4]相同
|
- containerPort: 18012
|
||||||
# livenessProbe:
|
livenessProbe:
|
||||||
# failureThreshold: 3
|
failureThreshold: 3
|
||||||
# httpGet:
|
httpGet:
|
||||||
# port: 18012 #[11] pod存活检测端口,修改为该微服务配置文件中server.port的端口号,与参数[5]相同
|
port: 18012
|
||||||
# path: /actuator/prometheus
|
path: /actuator/health
|
||||||
# scheme: HTTP
|
scheme: HTTP
|
||||||
# initialDelaySeconds: 300
|
initialDelaySeconds: 300
|
||||||
# periodSeconds: 60
|
periodSeconds: 60
|
||||||
# successThreshold: 1
|
successThreshold: 1
|
||||||
# timeoutSeconds: 2
|
timeoutSeconds: 2
|
||||||
# readinessProbe:
|
readinessProbe:
|
||||||
# failureThreshold: 1
|
failureThreshold: 1
|
||||||
# httpGet:
|
httpGet:
|
||||||
# port: 18012 #[12] pod就绪检测端口,修改为该微服务配置文件中server.port的端口号,与参数[5]相同
|
port: 18012
|
||||||
# path: /actuator/prometheus
|
path: /actuator/health
|
||||||
# scheme: HTTP
|
scheme: HTTP
|
||||||
# periodSeconds: 5
|
periodSeconds: 5
|
||||||
# successThreshold: 2
|
successThreshold: 2
|
||||||
# timeoutSeconds: 2
|
timeoutSeconds: 2
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
|
Reference in New Issue
Block a user