wormhole/devnet/e2e.yaml

48 lines
829 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: e2e
labels:
app: e2e
spec:
clusterIP: None
selector:
app: e2e
ports:
- port: 6080
name: novnc
protocol: TCP
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: e2e
spec:
selector:
matchLabels:
app: e2e
serviceName: e2e
template:
metadata:
labels:
app: e2e
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 0
containers:
- name: e2e-browser
image: e2e
command:
- ./run.sh
readinessProbe:
httpGet:
path: /
port: 6080
periodSeconds: 1
failureThreshold: 300
ports:
- containerPort: 6080
name: novnc
protocol: TCP