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