k3s/test/e2e/testing-manifests/statefulset/etcd/tester.yaml

25 lines
517 B
YAML

apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: etcd-test-server
spec:
replicas: 3
template:
metadata:
labels:
app: test-server
spec:
containers:
- name: test-server
image: gcr.io/google-containers/etcd-statefulset-e2e-test:0.0
imagePullPolicy: Always
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 2
periodSeconds: 2