Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
build-script
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
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
tools
build-script
Commits
f4b903d9
Commit
f4b903d9
authored
Apr 16, 2022
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add preStop probe to graceful shutdown
parent
df4e0826
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
k8s-deploy-template.yaml
k8s-deploy-template.yaml
+7
-0
No files found.
k8s-deploy-template.yaml
View file @
f4b903d9
...
...
@@ -15,6 +15,7 @@ spec:
labels
:
app
:
${APP_NAME}
spec
:
terminationGracePeriodSeconds
:
20
containers
:
-
name
:
${APP_NAME}
image
:
${IMAGE}
...
...
@@ -24,6 +25,12 @@ spec:
protocol
:
TCP
-
containerPort
:
1024
protocol
:
TCP
lifecycle
:
preStop
:
httpGet
:
scheme
:
HTTP
path
:
/actuator/offline
port
:
1024
livenessProbe
:
httpGet
:
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