Skip to content

Instantly share code, notes, and snippets.

@tomaustin700
Created March 13, 2021 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomaustin700/3a7e24548e638097fa21a67042b8a14a to your computer and use it in GitHub Desktop.
Save tomaustin700/3a7e24548e638097fa21a67042b8a14a to your computer and use it in GitHub Desktop.
GridMaxSessions
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:3.141
env:
- name: GRID_MAX_SESSION
value: 10
ports:
- containerPort: 4444
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment