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,29 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: selenium-node-firefox
labels:
name: selenium-node-firefox
spec:
replicas: 2
selector:
name: selenium-node-firefox
template:
metadata:
labels:
name: selenium-node-firefox
spec:
containers:
- name: selenium-node-firefox
image: selenium/node-firefox-debug:2.47.1
ports:
- containerPort: 5900
env:
- name: HUB_PORT_4444_TCP_ADDR
value: "selenium-hub"
- name: HUB_PORT_4444_TCP_PORT
value: "4444"
resources:
limits:
memory: "1000Mi"
cpu: ".5"