Skip to content

Commit

Permalink
add probes
Browse files Browse the repository at this point in the history
  • Loading branch information
pmacius committed Oct 14, 2024
1 parent 813d5ab commit 800b706
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/alfresco-audit-storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Checkout [alfresco-content-services chart's doc](https://github.com/Alfresco/acs
| image.repository | string | `"quay.io/alfresco/alfresco-audit-storage"` | |
| image.tag | string | `"0.0.1-A8"` | |
| imagePullSecrets | list | `[]` | |
| livenessProbe.httpGet.path | string | `"/actuator/health/liveness"` | |
| livenessProbe.httpGet.port | string | `"http"` | |
| livenessProbe.initialDelaySeconds | int | `15` | |
| livenessProbe.periodSeconds | int | `60` | |
| messageBroker.existingConfigMap.keys.url | string | `"BROKER_URL"` | Key within the configmap holding the URL of the message broker |
| messageBroker.existingConfigMap.name | string | `nil` | Alternatively, provide message broker connection details via an existing configmap |
| messageBroker.existingSecret | object | `{"keys":{"password":"BROKER_PASSWORD","username":"BROKER_USERNAME"},"name":null}` | Provide connection details alternatively via an existing secret that contains BROKER_URL, BROKER_USERNAME and BROKER_PASSWORD keys |
Expand All @@ -47,6 +51,10 @@ Checkout [alfresco-content-services chart's doc](https://github.com/Alfresco/acs
| podSecurityContext.fsGroup | int | `1000` | |
| podSecurityContext.runAsGroup | int | `1000` | |
| podSecurityContext.runAsUser | int | `33000` | |
| readinessProbe.httpGet.path | string | `"/actuator/health/readiness"` | |
| readinessProbe.httpGet.port | string | `"http"` | |
| readinessProbe.initialDelaySeconds | int | `15` | |
| readinessProbe.periodSeconds | int | `60` | |
| replicaCount | int | `1` | |
| resources.limits.cpu | string | `"1"` | |
| resources.limits.memory | string | `"512Mi"` | |
Expand Down
4 changes: 4 additions & 0 deletions charts/alfresco-audit-storage/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ spec:
- name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
Expand Down
13 changes: 13 additions & 0 deletions charts/alfresco-audit-storage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ messageBroker:
username: BROKER_USERNAME
password: BROKER_PASSWORD

livenessProbe:
httpGet:
path: /actuator/health/liveness
port: http
initialDelaySeconds: 15
periodSeconds: 60
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: http
initialDelaySeconds: 15
periodSeconds: 60

search:
# -- The URL where the search/indexing service is available
url: null
Expand Down

0 comments on commit 800b706

Please sign in to comment.