Adds example for running Selenium on Kubernetes.

This commit is contained in:
Elson Rodriguez
2015-10-04 00:38:22 -07:00
parent 719cf5617e
commit 93908b9b14
6 changed files with 322 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: selenium-hub
labels:
name: selenium-hub
spec:
replicas: 1
selector:
name: selenium-hub
template:
metadata:
labels:
name: selenium-hub
spec:
containers:
- name: selenium-hub
image: selenium/hub:2.47.1
ports:
- containerPort: 4444
resources:
limits:
memory: "1000Mi"
cpu: ".5"
livenessProbe:
httpGet:
path: /grid/console
port: 4444
initialDelaySeconds: 30
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /grid/console
port: 4444
initialDelaySeconds: 30
timeoutSeconds: 5