Difference between revisions of "Kubernetes probes"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 8: | Line 8: | ||
[[kind: Deployment]] | [[kind: Deployment]] | ||
+ | |||
+ | {{example probes}} | ||
Revision as of 15:28, 9 March 2023
readinessProbe livenessProbe
httpGet tcpSocket
kind: Deployment
readinessProbe: httpGet: path: /api/health port: 3000 livenessProbe: httpGet: path: /api/health port: 3000 initialDelaySeconds: 60 timeoutSeconds: 30 failureThreshold: 10
See also
- K8s probes:
readinessProbe, livenessProbe, StartupProbe, exec, gRPC, HttpGet, tcpSocket, TerminationGracePeriodSeconds
- Kubernetes deployments, strategies:
kind: Deployment
, Strategies:Recreate
orRollingUpdate
,kubectl
[create | describe | get | scale | rollout | deployment/
], Kubernetes Canary Deployments,deployment.kubernetes.io
Advertising: