Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Added a possibility to configure readinessProbe timeouts for operator deployment #362

Merged
merged 2 commits into from
Sep 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions helm/cassandra-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ spec:
exec:
command:
- /health
initialDelaySeconds: 4
periodSeconds: 10
failureThreshold: 1
initialDelaySeconds: {{ .Values.readinessProbe.timeouts.initialDelaySeconds }}
periodSeconds: {{ .Values.readinessProbe.timeouts.periodSeconds }}
failureThreshold: {{ .Values.readinessProbe.timeouts.failureThreshold }}
resources:
{{ toYaml .Values.resources | indent 10 }}
env:
Expand Down
6 changes: 6 additions & 0 deletions helm/cassandra-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ resources:
cpu: 1
memory: 512Mi

readinessProbe:
timeouts:
initialDelaySeconds: 4
periodSeconds: 10
failureThreshold: 1

## If true, create & deploy the CRD
##
createCustomResource: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ The following tables lists the configurable parameters of the Cassandra Operator
| `image.imagePullSecrets.name` | Name of the secret to connect to docker registry | - |
| `rbacEnable` | If true, create & use RBAC resources | `true` |
| `resources` | Pod resource requests & limits | `{}` |
| `readinessProbe.timeouts.initialDelaySeconds` | Specifies timeout before first probe attempt | `4` |
| `readinessProbe.timeouts.periodSeconds` | Specifies probe interval | `10` |
| `readinessProbe.timeouts.failureThreshold` | When a probe fails, after time specified in this field Pod will be marked as `Undready` | `1` |
| `metricService` | deploy service for metrics | `false` |
| `debug.enabled` | activate DEBUG log level and enable shareProcessNamespace (allowing ephemeral container usage) | `false` |

Expand Down