Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Infrastructure GitOps
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Infrastructure GitOps
Commits
a5533827
Verified
Commit
a5533827
authored
2 years ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
feat(blog): Add readiness and liveness probes for blog
parent
f98eafe4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/k8s01/blog/blog.yaml
+14
-0
14 additions, 0 deletions
apps/k8s01/blog/blog.yaml
with
14 additions
and
0 deletions
apps/k8s01/blog/blog.yaml
+
14
−
0
View file @
a5533827
...
@@ -38,6 +38,20 @@ spec:
...
@@ -38,6 +38,20 @@ spec:
limits
:
limits
:
cpu
:
100m
cpu
:
100m
memory
:
256Mi
memory
:
256Mi
livenessProbe
:
httpGet
:
path
:
/status.txt
port
:
http
failureThreshold
:
3
periodSeconds
:
5
readinessProbe
:
httpGet
:
path
:
/status.txt
port
:
http
initialDelaySeconds
:
5
failureThreshold
:
1
successThreshold
:
3
periodSeconds
:
5
---
---
apiVersion
:
v1
apiVersion
:
v1
kind
:
Service
kind
:
Service
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment