Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Charts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏国强
Charts
Commits
7ca337a5
Commit
7ca337a5
authored
Oct 07, 2020
by
Waqar Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for specifying liveness probe
parent
d9c1000a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
0 deletions
+47
-0
charts/ix-chart/2009.0.1/questions.yaml
charts/ix-chart/2009.0.1/questions.yaml
+35
-0
charts/ix-chart/2009.0.1/templates/deployment.yaml
charts/ix-chart/2009.0.1/templates/deployment.yaml
+8
-0
charts/ix-chart/2009.0.1/values.yaml
charts/ix-chart/2009.0.1/values.yaml
+4
-0
No files found.
charts/ix-chart/2009.0.1/questions.yaml
View file @
7ca337a5
...
...
@@ -234,3 +234,38 @@
schema
:
type
:
int
required
:
true
# Pod Probes
# Liveness Probe
-
variable
:
livenessProbe
label
:
"
Liveness
Probe"
description
:
"
Configure
Liveness
Probe"
group
:
"
Probes"
schema
:
type
:
dict
default
:
null
"
null"
:
true
attrs
:
-
variable
:
command
label
:
"
Liveness
command"
description
:
"
Specify
a
command
to
determine
liveness
of
pod"
schema
:
type
:
list
required
:
true
items
:
-
variable
:
commandArg
label
:
"
Command
Arg"
schema
:
type
:
string
-
variable
:
initialDelaySeconds
label
:
"
Seconds
Delay"
description
:
"
Seconds
to
delay
the
first
liveness
probe"
schema
:
type
:
int
default
:
5
-
variable
:
periodSeconds
label
:
"
Period
Seconds"
description
:
"
Specify
number
of
seconds
to
run
liveness
probe"
schema
:
type
:
int
default
:
10
charts/ix-chart/2009.0.1/templates/deployment.yaml
View file @
7ca337a5
...
...
@@ -58,6 +58,14 @@ spec:
value:
{{
.value
|
quote
}}
{{-
end
}}
{{-
end
}}
{{-
if
.Values.livenessProbe
}}
livenessProbe:
exec:
command:
{{
toYaml
.Values.livenessProbe.command
|
indent
16
}}
initialDelaySeconds:
{{
.Values.livenessProbe.initialDelaySeconds
}}
periodSeconds:
{{
.Values.periodSeconds
}}
{{-
end
}}
{{-
if
or
.Values.persistentVolumeClaims
.Values.hostPathVolumes
}}
volumes:
{{-
range
$index,
$hostPathConfiguration
:=
.Values.hostPathVolumes
}}
...
...
charts/ix-chart/2009.0.1/values.yaml
View file @
7ca337a5
...
...
@@ -24,3 +24,7 @@ externalInterfaces: []
# Storage related configuration
hostPathVolumes
:
[]
persistentVolumeClaims
:
[]
# Probes
# Liveness Probe
livenessProbe
:
null
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