Add liveness Delay for slow systems. Correct README chart parameters

This commit is contained in:
Rob Parker
2017-09-14 11:02:58 +01:00
parent a22637b043
commit 78ec896c03
4 changed files with 37 additions and 28 deletions

View File

@@ -43,9 +43,9 @@ kubectl delete pvc -l release=foo
The following table lists the configurable parameters of the `mq-advancedserver` chart and their default values. The following table lists the configurable parameters of the `mq-advancedserver` chart and their default values.
| Parameter | Description | Default | | Parameter | Description | Default |
| ---------------------------- | --------------------------------------------- | ---------------------------------------------------------- | | ------------------------------- | ----------------------------------------------- | ---------------------------------------------------------- |
| `license` | Set to `accept` to accept the terms of the IBM license | `not accepted` | | `license` | Set to `accept` to accept the terms of the IBM license | `not accepted` |
| `image.name` | Image name | `nil` | | `image.repository` | Image full name including repository | `nil` |
| `image.tag` | Image tag | `nil` | | `image.tag` | Image tag | `nil` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecret` | Image pull secret, if you are using a private Docker registry | `nil` | | `image.pullSecret` | Image pull secret, if you are using a private Docker registry | `nil` |
@@ -54,7 +54,13 @@ The following table lists the configurable parameters of the `mq-advancedserver`
| `data.persistence.size` | Size of data volume | `2Gi` | | `data.persistence.size` | Size of data volume | `2Gi` |
| `service.name` | Name of the Kubernetes service to create | `qmgr` | | `service.name` | Name of the Kubernetes service to create | `qmgr` |
| `service.type` | Kubernetes service type exposing ports, e.g. `NodePort` | `ClusterIP` | | `service.type` | Kubernetes service type exposing ports, e.g. `NodePort` | `ClusterIP` |
| `resources.limits.cpu` | Kubernetes CPU limit for the Queue Manager container | `1` |
| `resources.limits.memory` | Kubernetes memory limit for the Queue Manager container | `1Gi` |
| `resources.requests.cpu` | Kubernetes CPU request for the Queue Manager container | `1` |
| `resources.requests.memory` | Kubernetes memory request for the Queue Manager container | `1Gi` |
| `queueManager.name` | MQ Queue Manager name | Helm release name | | `queueManager.name` | MQ Queue Manager name | Helm release name |
| `nameOverride` | Set to partially override the resource names used in this chart | `nil` |
| `livenessDelay` | Raises the time out before Kubernetes checks for Queue Manager's health. Useful for slower systems that take longer to start the Queue Manager. | 60 |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

View File

@@ -58,7 +58,7 @@ spec:
exec: exec:
command: command:
- chkmqhealthy - chkmqhealthy
initialDelaySeconds: 60 initialDelaySeconds: {{ .Values.livenessDelay }}
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 5 timeoutSeconds: 5
failureThreshold: 1 failureThreshold: 1

View File

@@ -49,3 +49,5 @@ queueManager:
name: name:
# nameOverride can be set to partially override the name of the resources created by this chart # nameOverride can be set to partially override the name of the resources created by this chart
nameOverride: nameOverride:
# livenessDelay should be raised if your system cannot start the Queue Manager in 60 seconds
livenessDelay: 60

View File

@@ -43,9 +43,9 @@ kubectl delete pvc -l release=foo
The following table lists the configurable parameters of the `mq-advancedserver` chart and their default values. The following table lists the configurable parameters of the `mq-advancedserver` chart and their default values.
| Parameter | Description | Default | | Parameter | Description | Default |
| ---------------------------- | --------------------------------------------- | ---------------------------------------------------------- | | -------------------------------- | ----------------------------------------------- | ---------------------------------------------------------- |
| `license` | Set to `accept` to accept the terms of the IBM license | `not accepted` | | `license` | Set to `accept` to accept the terms of the IBM license | `not accepted` |
| `image.name` | Image name | `ibmcom/mq` | | `image.repository` | Image full name including repository | `ibmcom/mq` |
| `image.tag` | Image tag | `9` | | `image.tag` | Image tag | `9` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecret` | Image pull secret, if you are using a private Docker registry | `nil` | | `image.pullSecret` | Image pull secret, if you are using a private Docker registry | `nil` |
@@ -57,6 +57,7 @@ The following table lists the configurable parameters of the `mq-advancedserver`
| `queueManager.name` | MQ Queue Manager name | Helm release name | | `queueManager.name` | MQ Queue Manager name | Helm release name |
| `queueManager.dev.adminPassword` | Developer defaults - administrator password | Random generated string. See the notes that appear when you install for how to retrieve this. | | `queueManager.dev.adminPassword` | Developer defaults - administrator password | Random generated string. See the notes that appear when you install for how to retrieve this. |
| `queueManager.dev.appPassword` | Developer defaults - app password | `nil` (no password required to connect an MQ client) | | `queueManager.dev.appPassword` | Developer defaults - app password | `nil` (no password required to connect an MQ client) |
| `nameOverride` | Set to partially override the resource names used in this chart | `nil` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.