Yoshiro Watanabe 7989529419 Drop kuryr-demo images from samples
Since kuryr-kubernetes has been retired, drop the images and use
nginx instead.

Change-Id: Ia533a85266571eda2951cd1e8e586d0f2b67bf48
2024-12-17 07:27:46 +00:00

48 lines
1.0 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: curry-probe-test001
spec:
replicas: 1
selector:
matchLabels:
selector: curry-probe-test001
matchExpressions:
- key: test
operator: test
template:
metadata:
labels:
selector: curry-probe-test001
app: webserver
spec:
containers:
- image: nginx
imagePullPolicy: IfNotPresent
name: nginx-liveness-probe
ports:
- containerPort: 80
protocol: TCP
livenessProbe:
httpGet:
port: 80
path: /
failureThreshold: 5
periodSeconds: 5
- image: nginx
imagePullPolicy: IfNotPresent
name: nginx-readiness-probe
ports:
- containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
port: 8080
path: /
failureThreshold: 2
periodSeconds: 2
status:
conditions:
- status: True
type: Deployment