зеркало из https://github.com/microsoft/pai.git
write timeout parameter explicitly (#1866)
This commit is contained in:
Родитель
4b2aa0ec4c
Коммит
3bd4a1f6ef
|
@ -41,6 +41,7 @@ spec:
|
|||
port: {{ cluster_cfg["job-exporter"]["port"] }}
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 10
|
||||
command:
|
||||
- "python"
|
||||
- "/job_exporter/main.py"
|
||||
|
|
|
@ -37,11 +37,11 @@ spec:
|
|||
- image: {{ cluster_cfg["cluster"]["docker-registry"]["prefix"] }}node-exporter:{{ cluster_cfg["cluster"]["docker-registry"]["tag"] }}
|
||||
imagePullPolicy: Always
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /metrics
|
||||
tcpSocket:
|
||||
port: {{ cluster_cfg["node-exporter"]["port"] }}
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 10
|
||||
resources:
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
|
|
|
@ -41,8 +41,9 @@ spec:
|
|||
readinessProbe:
|
||||
tcpSocket: # because http get will trigger job-exporter abandom old metrics, so we use tcp instead of http
|
||||
port: 9101
|
||||
initialDelaySeconds: 30
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 10
|
||||
resources:
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
|
|
Загрузка…
Ссылка в новой задаче