Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
curso-kubernetes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jose Ernesto Suarez
curso-kubernetes
Commits
0c605c44
Commit
0c605c44
authored
May 31, 2019
by
Jose Ernesto Suarez Font
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
livenessprobes
parent
2cd32319
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
0 deletions
+46
-0
liveness-probe-app.yaml
healthchecks/liveness-probe-app.yaml
+23
-0
readiness-probe-app.yaml
healthchecks/readiness-probe-app.yaml
+23
-0
No files found.
healthchecks/liveness-probe-app.yaml
0 → 100644
View file @
0c605c44
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
liveness-app-test
spec
:
replicas
:
3
template
:
metadata
:
labels
:
app
:
firstapp
spec
:
containers
:
-
name
:
demo
image
:
eu.gcr.io/wdps-prj-terraform-e8b60c97/node:latest
ports
:
-
containerPort
:
3000
name
:
nodejs-port
livenessProbe
:
httpGet
:
path
:
/
port
:
3000
initialDelaySeconds
:
15
timeoutSeconds
:
30
healthchecks/readiness-probe-app.yaml
0 → 100644
View file @
0c605c44
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
readiness-app-test
spec
:
replicas
:
3
template
:
metadata
:
labels
:
app
:
firstapp
spec
:
containers
:
-
name
:
demo
image
:
eu.gcr.io/wdps-prj-terraform-e8b60c97/node:latest
ports
:
-
containerPort
:
3000
name
:
nodejs-port
livenessProbe
:
httpGet
:
path
:
/
port
:
3000
initialDelaySeconds
:
15
timeoutSeconds
:
30
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