mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Add liveness probe in controller configurations.
This commit is contained in:
parent
84ad23d5e6
commit
92c7feaf53
@ -44,6 +44,13 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
|
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
|
||||||
name: heapster
|
name: heapster
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: 8080
|
||||||
|
scheme: HTTP
|
||||||
|
initialDelaySeconds: 180
|
||||||
|
timeoutSeconds: 5
|
||||||
resources:
|
resources:
|
||||||
# keep request = limit to keep this container in guaranteed class
|
# keep request = limit to keep this container in guaranteed class
|
||||||
limits:
|
limits:
|
||||||
|
@ -44,6 +44,13 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
|
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
|
||||||
name: heapster
|
name: heapster
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: 8080
|
||||||
|
scheme: HTTP
|
||||||
|
initialDelaySeconds: 180
|
||||||
|
timeoutSeconds: 5
|
||||||
resources:
|
resources:
|
||||||
# keep request = limit to keep this container in guaranteed class
|
# keep request = limit to keep this container in guaranteed class
|
||||||
limits:
|
limits:
|
||||||
|
@ -44,6 +44,13 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
|
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
|
||||||
name: heapster
|
name: heapster
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: 8080
|
||||||
|
scheme: HTTP
|
||||||
|
initialDelaySeconds: 180
|
||||||
|
timeoutSeconds: 5
|
||||||
resources:
|
resources:
|
||||||
# keep request = limit to keep this container in guaranteed class
|
# keep request = limit to keep this container in guaranteed class
|
||||||
limits:
|
limits:
|
||||||
|
@ -40,6 +40,13 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
|
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
|
||||||
name: heapster
|
name: heapster
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: 8080
|
||||||
|
scheme: HTTP
|
||||||
|
initialDelaySeconds: 180
|
||||||
|
timeoutSeconds: 5
|
||||||
resources:
|
resources:
|
||||||
# keep request = limit to keep this container in guaranteed class
|
# keep request = limit to keep this container in guaranteed class
|
||||||
limits:
|
limits:
|
||||||
|
Loading…
Reference in New Issue
Block a user