mirror of
https://github.com/puppetmaster/typhoon.git
synced 2025-02-16 22:41:27 +01:00
Add Prometheus liveness and readiness probes
This commit is contained in:
parent
6e968cd152
commit
32a9a83190
@ -6,6 +6,10 @@ Notable changes between versions.
|
|||||||
|
|
||||||
* Update Calico from v3.1.2 to v3.1.3
|
* Update Calico from v3.1.2 to v3.1.3
|
||||||
|
|
||||||
|
#### Addons
|
||||||
|
|
||||||
|
* Add Prometheus liveness and readiness probes
|
||||||
|
|
||||||
## v1.10.3
|
## v1.10.3
|
||||||
|
|
||||||
* Kubernetes [v1.10.3](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#v1103)
|
* Kubernetes [v1.10.3](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#v1103)
|
||||||
|
@ -20,6 +20,7 @@ spec:
|
|||||||
- name: prometheus
|
- name: prometheus
|
||||||
image: quay.io/prometheus/prometheus:v2.2.1
|
image: quay.io/prometheus/prometheus:v2.2.1
|
||||||
args:
|
args:
|
||||||
|
- --web.listen-address=0.0.0.0:9090
|
||||||
- --config.file=/etc/prometheus/prometheus.yaml
|
- --config.file=/etc/prometheus/prometheus.yaml
|
||||||
- --storage.tsdb.path=/var/lib/prometheus
|
- --storage.tsdb.path=/var/lib/prometheus
|
||||||
ports:
|
ports:
|
||||||
@ -32,8 +33,18 @@ spec:
|
|||||||
mountPath: /etc/prometheus/rules
|
mountPath: /etc/prometheus/rules
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /var/lib/prometheus
|
mountPath: /var/lib/prometheus
|
||||||
dnsPolicy: ClusterFirst
|
readinessProbe:
|
||||||
restartPolicy: Always
|
httpGet:
|
||||||
|
path: /-/ready
|
||||||
|
port: 9090
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
timeoutSeconds: 10
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /-/healthy
|
||||||
|
port: 9090
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
timeoutSeconds: 10
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user