mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
Add an e2e test for http liveness.
This commit is contained in:
19
examples/liveness/http-liveness.yaml
Normal file
19
examples/liveness/http-liveness.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: v1beta1
|
||||
desiredState:
|
||||
manifest:
|
||||
containers:
|
||||
- image: kubernetes/liveness
|
||||
name: liveness
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: "/healthz"
|
||||
port: 8080
|
||||
initialDelaySeconds: 15
|
||||
command:
|
||||
- /server
|
||||
id: liveness-http
|
||||
version: v1beta1
|
||||
id: liveness-http
|
||||
kind: Pod
|
||||
labels:
|
||||
test: liveness
|
Reference in New Issue
Block a user