[4.03.20] Bringing back probes
This commit is contained in:
parent
424dc2d383
commit
0b3cb408ec
@ -64,24 +64,24 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 9090
|
- containerPort: 9090
|
||||||
name: RESOURCE_NAME
|
name: RESOURCE_NAME
|
||||||
# livenessProbe:
|
livenessProbe:
|
||||||
# httpGet:
|
httpGet:
|
||||||
# path: /health
|
path: /health
|
||||||
# port: 5000
|
port: 5000
|
||||||
# initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
# periodSeconds: 30
|
periodSeconds: 30
|
||||||
# timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
# successThreshold: 1
|
successThreshold: 1
|
||||||
# failureThreshold: 3
|
failureThreshold: 3
|
||||||
# readinessProbe:
|
readinessProbe:
|
||||||
# httpGet:
|
httpGet:
|
||||||
# port: 5000
|
port: 5000
|
||||||
# path: /readiness
|
path: /readiness
|
||||||
# initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
# periodSeconds: 5
|
periodSeconds: 5
|
||||||
# timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
# successThreshold: 1
|
successThreshold: 1
|
||||||
# failureThreshold: 10
|
failureThreshold: 10
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
@ -16,7 +16,7 @@ def callProbes():
|
|||||||
|
|
||||||
if __name__=='__main__':
|
if __name__=='__main__':
|
||||||
|
|
||||||
# Thread(target=callProbes).start()
|
Thread(target=callProbes).start()
|
||||||
|
|
||||||
# Dynamically create new child for each currency
|
# Dynamically create new child for each currency
|
||||||
currencies = [ "btc_usd" ]
|
currencies = [ "btc_usd" ]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user