Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
influxdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
influxdb
Commits
79b663c3
Unverified
Commit
79b663c3
authored
Oct 02, 2020
by
krisero
Committed by
GitHub
Oct 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to customize healthchcks for liveness, readiness, startup probes (#200)
* Allow to customize healthchcks for liveness, readiness, startup probes * Version bump
parent
a524647c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
Chart.yaml
charts/influxdb/Chart.yaml
+1
-1
meta-statefulset.yaml
charts/influxdb/templates/meta-statefulset.yaml
+3
-3
statefulset.yaml
charts/influxdb/templates/statefulset.yaml
+3
-3
values.yaml
charts/influxdb/values.yaml
+3
-0
No files found.
charts/influxdb/Chart.yaml
View file @
79b663c3
apiVersion
:
v1
name
:
influxdb
version
:
4.8.
5
version
:
4.8.
6
appVersion
:
1.8.0
description
:
Scalable datastore for metrics, events, and real-time analytics.
keywords
:
...
...
charts/influxdb/templates/meta-statefulset.yaml
View file @
79b663c3
...
...
@@ -52,20 +52,20 @@ spec:
{{
- end
}}
livenessProbe
:
httpGet
:
path
:
/ping
path
:
{{
.Values.livenessProbe.path | default "/ping"
}}
port
:
meta
initialDelaySeconds
:
{{
.Values.livenessProbe.initialDelaySeconds | default 30
}}
timeoutSeconds
:
{{
.Values.livenessProbe.timeoutSeconds | default 5
}}
readinessProbe
:
httpGet
:
path
:
/ping
path
:
{{
.Values.readinessProbe.path | default "/ping"
}}
port
:
meta
initialDelaySeconds
:
{{
.Values.readinessProbe.initialDelaySeconds | default 5
}}
timeoutSeconds
:
{{
.Values.readinessProbe.timeoutSeconds | default 1
}}
{{
- if .Values.startupProbe.enabled
}}
startupProbe
:
httpGet
:
path
:
/ping
path
:
{{
.Values.startupProbe.path | default "/ping"
}}
port
:
meta
failureThreshold
:
{{
.Values.startupProbe.failureThreshold | default 6
}}
periodSeconds
:
{{
.Values.startupProbe.periodSeconds | default 5
}}
...
...
charts/influxdb/templates/statefulset.yaml
View file @
79b663c3
...
...
@@ -97,14 +97,14 @@ spec:
{{
- end
}}
livenessProbe
:
httpGet
:
path
:
/ping
path
:
{{
.Values.livenessProbe.path | default "/ping"
}}
port
:
api
scheme
:
{{
.Values.livenessProbe.scheme | default "HTTP"
}}
initialDelaySeconds
:
{{
.Values.livenessProbe.initialDelaySeconds | default 30
}}
timeoutSeconds
:
{{
.Values.livenessProbe.timeoutSeconds | default 5
}}
readinessProbe
:
httpGet
:
path
:
/ping
path
:
{{
.Values.readinessProbe.path | default "/ping"
}}
port
:
api
scheme
:
{{
.Values.readinessProbe.scheme | default "HTTP"
}}
initialDelaySeconds
:
{{
.Values.readinessProbe.initialDelaySeconds | default 5
}}
...
...
@@ -112,7 +112,7 @@ spec:
{{
- if .Values.startupProbe.enabled
}}
startupProbe
:
httpGet
:
path
:
/ping
path
:
{{
.Values.startupProbe.path | default "/ping"
}}
port
:
api
scheme
:
{{
.Values.startupProbe.scheme | default "HTTP"
}}
failureThreshold
:
{{
.Values.startupProbe.failureThreshold | default 6
}}
...
...
charts/influxdb/values.yaml
View file @
79b663c3
...
...
@@ -19,11 +19,13 @@ serviceAccount:
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
##
livenessProbe
:
{}
# path: "/ping"
# initialDelaySeconds: 30
# timeoutSeconds: 5
# scheme: HTTP
readinessProbe
:
{}
# path: "/ping"
# initialDelaySeconds: 5
# timeoutSeconds: 1
# scheme: HTTP
...
...
@@ -34,6 +36,7 @@ securityContext: {}
startupProbe
:
enabled
:
false
# path: "/ping"
# failureThreshold: 6
# periodSeconds: 5
# scheme: HTTP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment