40 lines
846 B
YAML
40 lines
846 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: selenium-hub
|
|
labels:
|
|
app: selenium-hub
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: selenium-hub
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: selenium-hub
|
|
spec:
|
|
containers:
|
|
- name: selenium-hub
|
|
image: selenium/hub:4.0
|
|
ports:
|
|
- containerPort: 4444
|
|
- containerPort: 4443
|
|
- containerPort: 4442
|
|
resources:
|
|
limits:
|
|
memory: "1000Mi"
|
|
cpu: ".5"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /wd/hub/status
|
|
port: 4444
|
|
initialDelaySeconds: 30
|
|
timeoutSeconds: 5
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /wd/hub/status
|
|
port: 4444
|
|
initialDelaySeconds: 30
|
|
timeoutSeconds: 5
|