diff --git a/charts/mariadb/Chart.yaml b/charts/mariadb/Chart.yaml index a883bc39ca3e768ff60af8eddc8f6bdf7fb9fffe..7e766188d8e0bae3e78584f60dda2fe37e82a34a 100644 --- a/charts/mariadb/Chart.yaml +++ b/charts/mariadb/Chart.yaml @@ -7,6 +7,6 @@ type: application maintainers: - name: groundhog2k -version: 0.4.0 +version: 0.2.17 -appVersion: "10.7.1" +appVersion: "10.5.13" diff --git a/charts/mariadb/README.md b/charts/mariadb/README.md index 30453762a868c4bed47640ef930bb1106d29a62f..62fe8a327b66f488219e000b7d4da95ec2297ab0 100644 --- a/charts/mariadb/README.md +++ b/charts/mariadb/README.md @@ -1,14 +1,18 @@ # MariaDB -   +   + +## Changelog + +see [RELEASENOTES.md](RELEASENOTES.md) A Helm chart for MariaDB on Kubernetes ## TL;DR ```bash -$ helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ -$ helm install my-release groundhog2k/mariadb +helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ +helm install my-release groundhog2k/mariadb ``` ## Introduction @@ -28,7 +32,7 @@ It fully supports deployment of the multi-architecture docker image. To install the chart with the release name `my-release`: ```bash -$ helm install my-release groundhog2k/mariadb +helm install my-release groundhog2k/mariadb ``` ## Uninstalling the Chart @@ -36,7 +40,7 @@ $ helm install my-release groundhog2k/mariadb To uninstall/delete the `my-release` deployment: ```bash -$ helm uninstall my-release +helm uninstall my-release ``` ## Common parameters @@ -54,8 +58,10 @@ $ helm uninstall my-release | image.repository | string | `"mariadb"` | Image name | | image.tag | string | `""` | Image tag | | imagePullSecrets | list | `[]` | Image pull secrets | +| startupProbe | object | `see values.yaml` | Startup probe configuration | | livenessProbe | object | `see values.yaml` | Liveness probe configuration | | readinessProbe | object | `see values.yaml` | Readiness probe configuration | +| customStartupProbe | object | `{}` | Custom startup probe (overwrites default startup probe configuration) | | customLivenessProbe | object | `{}` | Custom liveness probe (overwrites default liveness probe configuration) | | customReadinessProbe | object | `{}` | Custom readiness probe (overwrites default readiness probe configuration) | | resources | object | `{}` | Resource limits and requests | diff --git a/charts/mariadb/RELEASENOTES.md b/charts/mariadb/RELEASENOTES.md new file mode 100644 index 0000000000000000000000000000000000000000..d22c07fe981c77f277b22d7f63cfc88a54d61511 --- /dev/null +++ b/charts/mariadb/RELEASENOTES.md @@ -0,0 +1,6 @@ +# Changelog + +| Chart version | App version | Change description | +| :------------ | :---------- | :----------------- | +| 0.2.17 | 10.5.13 | Implemented startupProbe support | +| | | | diff --git a/charts/mariadb/templates/statefulset.yaml b/charts/mariadb/templates/statefulset.yaml index e46ee5dd7e71b8c89ab392621356baafbe5fb53b..ee056c9f925ef0241c62a6f186c03eae33ec9b4f 100644 --- a/charts/mariadb/templates/statefulset.yaml +++ b/charts/mariadb/templates/statefulset.yaml @@ -47,6 +47,26 @@ spec: - name: sql containerPort: 3306 protocol: TCP + {{- if .Values.customStartupProbe }} + startupProbe: + {{- toYaml .Values.customStartupProbe | nindent 12 }} + {{- else }} + {{- if .Values.startupProbe.enabled }} + startupProbe: + exec: + command: + - bash + - -c + - mysqladmin status -uroot -p$MYSQL_ROOT_PASSWORD + {{- with .Values.startupProbe }} + initialDelaySeconds: {{ .initialDelaySeconds }} + timeoutSeconds: {{ .timeoutSeconds }} + failureThreshold: {{ .failureThreshold }} + successThreshold: {{ .successThreshold }} + periodSeconds: {{ .periodSeconds }} + {{- end }} + {{- end }} + {{- end }} {{- if .Values.customLivenessProbe }} livenessProbe: {{- toYaml .Values.customLivenessProbe | nindent 12 }} diff --git a/charts/mariadb/values.yaml b/charts/mariadb/values.yaml index eee3979573d27c47d945ca3c329f9a7b8454b7dd..0fee20d6838bd2cd1a03361efb240caa3e49d7bc 100644 --- a/charts/mariadb/values.yaml +++ b/charts/mariadb/values.yaml @@ -76,6 +76,18 @@ affinity: {} ## Maximum number of revisions maintained in revision history revisionHistoryLimit: +## Custom startup probe (overwrites default startup probe) +customStartupProbe: {} + +## Default startup probe +startupProbe: + enabled: true + initialDelaySeconds: 10 + timeoutSeconds: 5 + failureThreshold: 30 + successThreshold: 1 + periodSeconds: 10 + ## Custom liveness probe (overwrites default liveness probe) customLivenessProbe: {} diff --git a/charts/mongodb/Chart.yaml b/charts/mongodb/Chart.yaml index 12bd4f317eff2ff6a7971ae9f8ad04dd31df6664..b658bc36d7289ebfc169bf90ff5cd353f8dcad0d 100644 --- a/charts/mongodb/Chart.yaml +++ b/charts/mongodb/Chart.yaml @@ -7,6 +7,6 @@ type: application maintainers: - name: groundhog2k -version: 0.4.0 +version: 0.2.14 -appVersion: "5.0.5" +appVersion: "4.2.14" diff --git a/charts/mongodb/README.md b/charts/mongodb/README.md index ef99eee3966c446ade6ad5332e3f218be4fe0af4..f98a51183fd6e87913f829737d118cbfb810e795 100644 --- a/charts/mongodb/README.md +++ b/charts/mongodb/README.md @@ -1,14 +1,18 @@ # MongoDB -   +   + +## Changelog + +see [RELEASENOTES.md](RELEASENOTES.md) A Helm chart for MongoDB on Kubernetes ## TL;DR ```bash -$ helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ -$ helm install my-release groundhog2k/mongodb +helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ +helm install my-release groundhog2k/mongodb ``` ## Introduction @@ -28,7 +32,7 @@ It fully supports deployment of the multi-architecture docker image. To install the chart with the release name `my-release`: ```bash -$ helm install my-release groundhog2k/mongodb +helm install my-release groundhog2k/mongodb ``` ## Uninstalling the Chart @@ -54,8 +58,10 @@ $ helm uninstall my-release | image.repository | string | `"mongo"` | Image name | | image.tag | string | `""` | Image tag | | imagePullSecrets | list | `[]` | Image pull secrets | +| startupProbe | object | `see values.yaml` | Startup probe configuration | | livenessProbe | object | `see values.yaml` | Liveness probe configuration | | readinessProbe | object | `see values.yaml` | Readiness probe configuration | +| customStartupProbe | object | `{}` | Custom startup probe (overwrites default startup probe configuration) | | customLivenessProbe | object | `{}` | Custom liveness probe (overwrites default liveness probe configuration) | | customReadinessProbe | object | `{}` | Custom readiness probe (overwrites default readiness probe configuration) | | resources | object | `{}` | Resource limits and requests | diff --git a/charts/mongodb/RELEASENOTES.md b/charts/mongodb/RELEASENOTES.md new file mode 100644 index 0000000000000000000000000000000000000000..9ef3aec77a9f78356c2ea407c18bf7a8632dfeaf --- /dev/null +++ b/charts/mongodb/RELEASENOTES.md @@ -0,0 +1,6 @@ +# Changelog + +| Chart version | App version | Change description | +| :------------ | :---------- | :----------------- | +| 0.2.14 | 4.2.14 | Implemented startupProbe support | +| | | | diff --git a/charts/mongodb/templates/statefulset.yaml b/charts/mongodb/templates/statefulset.yaml index 85ecbb6b848b74e8df25899f4908c6257b8c055a..7f520613b4be322ea3cb58a5347c7ad865c81c3c 100644 --- a/charts/mongodb/templates/statefulset.yaml +++ b/charts/mongodb/templates/statefulset.yaml @@ -47,6 +47,26 @@ spec: - name: mongodb containerPort: 27017 protocol: TCP + {{- if .Values.customStartupProbe }} + startupProbe: + {{- toYaml .Values.customStartupProbe | nindent 12 }} + {{- else }} + {{- if .Values.startupProbe.enabled }} + startupProbe: + exec: + command: + - mongo + - --eval + - "db.adminCommand('ping')" + {{- with .Values.startupProbe }} + initialDelaySeconds: {{ .initialDelaySeconds }} + timeoutSeconds: {{ .timeoutSeconds }} + failureThreshold: {{ .failureThreshold }} + successThreshold: {{ .successThreshold }} + periodSeconds: {{ .periodSeconds }} + {{- end }} + {{- end }} + {{- end }} {{- if .Values.customLivenessProbe }} livenessProbe: {{- toYaml .Values.customLivenessProbe | nindent 12 }} diff --git a/charts/mongodb/values.yaml b/charts/mongodb/values.yaml index 90b4f0ef89cfbf0b80c8229bd865d5653538f43d..e3127f03e1e82306e66d3866e64b72e76635b40c 100644 --- a/charts/mongodb/values.yaml +++ b/charts/mongodb/values.yaml @@ -64,6 +64,18 @@ resources: {} # cpu: 100m # memory: 128Mi +## Custom startup probe (overwrites default startup probe) +customStartupProbe: {} + +## Default startup check +startupProbe: + enabled: true + initialDelaySeconds: 10 + timeoutSeconds: 5 + failureThreshold: 30 + successThreshold: 1 + periodSeconds: 10 + ## Custom liveness probe (overwrites default liveness probe) customLivenessProbe: {} diff --git a/charts/postgres/Chart.yaml b/charts/postgres/Chart.yaml index 3062518a6d7376da1c671e3c9cb83ab828413569..a478c4e8a1bfccb643bc560edf998643746c7027 100644 --- a/charts/postgres/Chart.yaml +++ b/charts/postgres/Chart.yaml @@ -7,6 +7,6 @@ type: application maintainers: - name: groundhog2k -version: 0.3.4 +version: 0.3.5 appVersion: "14.1" diff --git a/charts/postgres/README.md b/charts/postgres/README.md index f11975a5feaec916bd2077db485984bea78d11f7..f2e316cea2ce5f856890f15501af999872211dda 100644 --- a/charts/postgres/README.md +++ b/charts/postgres/README.md @@ -1,6 +1,6 @@ # PostgreSQL -   +   ## Changelog @@ -15,8 +15,8 @@ There is no automatic database upgrade from PostgreSQL 13.x (Chart version 0.2.x ## TL;DR ```bash -$ helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ -$ helm install my-release groundhog2k/postgres +helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ +helm install my-release groundhog2k/postgres ``` ## Introduction @@ -25,7 +25,6 @@ This chart uses the original [PostgreSQL image from Docker Hub](https://hub.dock It fully supports deployment of the multi-architecture docker image. - ## Prerequisites - Kubernetes 1.12+ @@ -37,7 +36,7 @@ It fully supports deployment of the multi-architecture docker image. To install the chart with the release name `my-release`: ```bash -$ helm install my-release groundhog2k/postgres +helm install my-release groundhog2k/postgres ``` ## Uninstalling the Chart @@ -45,7 +44,7 @@ $ helm install my-release groundhog2k/postgres To uninstall/delete the `my-release` deployment: ```bash -$ helm uninstall my-release +helm uninstall my-release ``` ## Common parameters diff --git a/charts/postgres/RELEASENOTES.md b/charts/postgres/RELEASENOTES.md index db10bfdbbd47513131a33934e046a03814e09cff..85afd8f2f821fc2e53e9caa17d9752ee58113ed2 100644 --- a/charts/postgres/RELEASENOTES.md +++ b/charts/postgres/RELEASENOTES.md @@ -1,4 +1,8 @@ +# Changelog + | Chart version | App version | Change description | | :------------ | :---------- | :----------------- | | 0.2.16 | 13.5 | Fixes bug with wrong mounted customConfig #811 | | 0.3.4 | 14.1 | Fixes bug with wrong mounted customConfig #811 | +| 0.3.5 | 14.1 | Updated readme and release notes | +| | | | diff --git a/charts/redis/Chart.yaml b/charts/redis/Chart.yaml index 169d125e0dbad351665974ed3c5eab194fa953cf..a00bfb91074238c57dafc741b9580f0de7307238 100644 --- a/charts/redis/Chart.yaml +++ b/charts/redis/Chart.yaml @@ -8,7 +8,7 @@ maintainers: - name: groundhog2k # This is the chart version -version: 0.4.9 +version: 0.4.10 # This is the version number of the application being deployed. appVersion: "6.2.6" diff --git a/charts/redis/README.md b/charts/redis/README.md index 141333066d01c7867741720fe703d6416bb3228f..d3a92f7f0cf45a817e12e2ffac4a59d33f4aeae3 100644 --- a/charts/redis/README.md +++ b/charts/redis/README.md @@ -1,29 +1,34 @@ # Redis -   +   + +## Changelog + +see [RELEASENOTES.md](RELEASENOTES.md) A Helm chart for Redis on Kubernetes ## TL;DR ```bash -$ helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ -$ helm install my-release groundhog2k/redis +helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ +helm install my-release groundhog2k/redis ``` -### Basic setup without high availability: +### Basic setup without high availability + `haMode.enabled: false` This will create one standalone Redis instance which can be reached based on the `service:` configuration (ClusterIP & Port 6379 by default) -``` +```draw +-------------------+ | Redis standalone | +-------------------+ ``` +### Advanced setup with high availability support -### Advanced setup with high availability support: `haMode.enabled: true` This will create 3 pods by default, with 1 Redis master (M1) and 2 Redis replications (R1/R2). Every pod has 2 containers, one for the Redis server and one for the Redis sentinel (S1/S2/S3). @@ -31,8 +36,7 @@ The default quorom to decide for a new master is set to 2. Have a look at all co A Sentinal instance can be reached based on the `service:` configuration (ClusterIP & Sentinel port 26379 by default). - -``` +```draw +----+ | M1 | | S1 | @@ -61,7 +65,7 @@ It fully supports deployment of the multi-architecture docker image. To install the chart with the release name `my-release`: ```bash -$ helm install my-release groundhog2k/redis +helm install my-release groundhog2k/redis ``` ## Uninstalling the Chart @@ -69,7 +73,7 @@ $ helm install my-release groundhog2k/redis To uninstall/delete the `my-release` deployment: ```bash -$ helm uninstall my-release +helm uninstall my-release ``` ## Common parameters @@ -87,9 +91,11 @@ $ helm uninstall my-release | image.repository | string | `"redis"` | Image name | | image.tag | string | `""` | Image tag | | imagePullSecrets | list | `[]` | Image pull secrets | -| livenessProbe | object | `see values.yaml` | Liveness probe configurationm | +| livenessProbe | object | `see values.yaml` | Liveness probe configuration | +| startupProbe | object | `see values.yaml` | Startup probe configuration | | readinessProbe | object | `see values.yaml` | Readiness probe configuration | | customLivenessProbe | object | `{}` | Custom liveness probe (overwrites default liveness probe configuration) | +| customStartupProbe | object | `{}` | Custom startup probe (overwrites default startup probe configuration) | | customReadinessProbe | object | `{}` | Custom readiness probe (overwrites default readiness probe configuration) | | resources | object | `{}` | Resource limits and requests | | sentinelResources | object | `{}` | Resource limits and requests (for Redis Sentinel - only when haMode is enabled) | diff --git a/charts/redis/RELEASENOTES.md b/charts/redis/RELEASENOTES.md new file mode 100644 index 0000000000000000000000000000000000000000..4f949cbd719da3a92dcd88ee43c83ca6c3ec7c5b --- /dev/null +++ b/charts/redis/RELEASENOTES.md @@ -0,0 +1,6 @@ +# Changelog + +| Chart version | App version | Change description | +| :------------ | :---------- | :----------------- | +| 0.4.10 | 6.2.6 | Implemented startupProbe support | +| | | | diff --git a/charts/redis/templates/statefulset.yaml b/charts/redis/templates/statefulset.yaml index 6639124ea6758691243b3a8581312da016d0fb76..d2048a87d8e87d61c4dfed6f6a8beeba971146ab 100644 --- a/charts/redis/templates/statefulset.yaml +++ b/charts/redis/templates/statefulset.yaml @@ -76,6 +76,26 @@ spec: - name: redis containerPort: 6379 protocol: TCP + {{- if .Values.customStartupProbe }} + startupProbe: + {{- toYaml .Values.customStartupProbe | nindent 12 }} + {{- else }} + {{- if .Values.startupProbe.enabled }} + startupProbe: + exec: + command: + - sh + - -c + - redis-cli ping + {{- with .Values.startupProbe }} + initialDelaySeconds: {{ .initialDelaySeconds }} + timeoutSeconds: {{ .timeoutSeconds }} + failureThreshold: {{ .failureThreshold }} + successThreshold: {{ .successThreshold }} + periodSeconds: {{ .periodSeconds }} + {{- end }} + {{- end }} + {{- end }} {{- if .Values.customLivenessProbe }} livenessProbe: {{- toYaml .Values.customLivenessProbe | nindent 12 }} diff --git a/charts/redis/values.yaml b/charts/redis/values.yaml index 5735872827502a30de8de69a03284a13ddac266f..f0b9f0a4e11622575594fe88d13922cb359670f7 100644 --- a/charts/redis/values.yaml +++ b/charts/redis/values.yaml @@ -96,6 +96,18 @@ podDisruptionBudget: {} ## Maximum number of pods that can be unavailable after eviction # maxUnavailable: +## Custom startup probe (overwrites default startup probe) +customStartupProbe: {} + +## Default startup probe +startupProbe: + enabled: true + initialDelaySeconds: 10 + timeoutSeconds: 5 + failureThreshold: 30 + successThreshold: 1 + periodSeconds: 10 + ## Custom liveness probe (overwrites default liveness probe) customLivenessProbe: {} diff --git a/charts/wordpress/Chart.yaml b/charts/wordpress/Chart.yaml index 2872cc6914e08a927d11139f5295d555a0581e3a..f9d4e365f2cb1c6f8f5bab46db72a2cc598ca161 100644 --- a/charts/wordpress/Chart.yaml +++ b/charts/wordpress/Chart.yaml @@ -8,7 +8,7 @@ maintainers: type: application # This is the chart version. -version: 0.4.8 +version: 0.4.9 # This is the version number of the application being deployed. appVersion: "5.8.3-apache" diff --git a/charts/wordpress/README.md b/charts/wordpress/README.md index 4ada1d2ea410ee9ed8e956afc823d22bdd791eab..ab6e5e196c7f04b2491bcc967867f95647aeed00 100644 --- a/charts/wordpress/README.md +++ b/charts/wordpress/README.md @@ -1,14 +1,18 @@ -# Wordpress +# Wordpress -   +   + +## Changelog + +see [RELEASENOTES.md](RELEASENOTES.md) A Helm chart for Wordpress on Kubernetes ## TL;DR ```bash -$ helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ -$ helm install my-release groundhog2k/wordpress +helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/ +helm install my-release groundhog2k/wordpress ``` ## Introduction @@ -28,7 +32,7 @@ It fully supports deployment of the multi-architecture docker image. To install the chart with the release name `my-release`: ```bash -$ helm install my-release groundhog2k/wordpress +helm install my-release groundhog2k/wordpress ``` ## Uninstalling the Chart @@ -36,7 +40,7 @@ $ helm install my-release groundhog2k/wordpress To uninstall/delete the `my-release` deployment: ```bash -$ helm uninstall my-release +helm uninstall my-release ``` ## Requirements @@ -62,8 +66,10 @@ $ helm uninstall my-release | imagePullSecrets | list | `[]` | Image pull secrets | | strategy | object | `{}` | Pod deployment strategy | | livenessProbe | object | `see values.yaml` | Liveness probe configuration | +| startupProbe | object | `see values.yaml` | Startup probe configuration | | readinessProbe | object | `see values.yaml` | Readiness probe configuration | | customLivenessProbe | object | `{}` | Custom liveness probe (overwrites default liveness probe configuration) | +| customStartupProbe | object | `{}` | Custom startup probe (overwrites default startup probe configuration) | | customReadinessProbe | object | `{}` | Custom readiness probe (overwrites default readiness probe configuration) | | resources | object | `{}` | Resource limits and requests | | nodeSelector | object | `{}` | Deployment node selector | diff --git a/charts/wordpress/RELEASENOTES.md b/charts/wordpress/RELEASENOTES.md new file mode 100644 index 0000000000000000000000000000000000000000..e2ab1343d1e1656b45e42ed488c832748e552985 --- /dev/null +++ b/charts/wordpress/RELEASENOTES.md @@ -0,0 +1,6 @@ +# Changelog + +| Chart version | App version | Change description | +| :------------ | :---------- | :----------------- | +| 0.4.9 | 5.8.3-apache | Implemented startupProbe support | +| | | | diff --git a/charts/wordpress/templates/deployment.yaml b/charts/wordpress/templates/deployment.yaml index 1cb1073dce79bf0167b902532ad73198410ef2de..4531a2fe6e299ec52996bd14c0ddcc587a093ae5 100644 --- a/charts/wordpress/templates/deployment.yaml +++ b/charts/wordpress/templates/deployment.yaml @@ -61,6 +61,27 @@ spec: - name: http containerPort: {{ .Values.containerPort }} protocol: TCP + {{- if .Values.customStartupProbe }} + startupProbe: + {{- toYaml .Values.customStartupProbe | nindent 12 }} + {{- else }} + {{- if .Values.startupProbe.enabled }} + startupProbe: + httpGet: + path: /wp-login.php + port: http + httpHeaders: + - name: Host + value: localhost:{{ .Values.containerPort }} + {{- with .Values.startupProbe }} + initialDelaySeconds: {{ .initialDelaySeconds }} + timeoutSeconds: {{ .timeoutSeconds }} + failureThreshold: {{ .failureThreshold }} + successThreshold: {{ .successThreshold }} + periodSeconds: {{ .periodSeconds }} + {{- end }} + {{- end }} + {{- end }} {{- if .Values.customLivenessProbe }} livenessProbe: {{- toYaml .Values.customLivenessProbe | nindent 12 }} diff --git a/charts/wordpress/values.yaml b/charts/wordpress/values.yaml index e223051512c7432bbc5e49d615f1fc5b05784aab..91715e4699b0d1a89ace382415ffe65ce2ddb4f9 100644 --- a/charts/wordpress/values.yaml +++ b/charts/wordpress/values.yaml @@ -93,6 +93,18 @@ resources: {} # cpu: 100m # memory: 128Mi +## Custom startup probe (overwrites default startup probe) +customStartupProbe: {} + +## Default startup probe +startupProbe: + enabled: true + initialDelaySeconds: 10 + timeoutSeconds: 5 + failureThreshold: 30 + successThreshold: 1 + periodSeconds: 10 + ## Custom liveness probe (overwrites default liveness probe) customLivenessProbe: {}