Created
April 24, 2018 14:53
-
-
Save jpswade/139b7f9eb240b592c0236bdf25047df3 to your computer and use it in GitHub Desktop.
Setup Zalenium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# @see https://github.com/zalando/zalenium/tree/master/docs/k8s/helm | |
# @todo helm install local/zalenium - @see https://github.com/kubernetes/helm/issues/3873 | |
# @see https://zalando.github.io/zalenium/#kubernetes | |
set -e | |
docker pull elgalu/selenium | |
docker pull dosel/zalenium | |
[[ -d zalenium ]] || git clone [email protected]:zalando/zalenium.git | |
cd zalenium | |
kubectl create -f kubernetes/ || kubectl apply -f kubernetes/ | |
kubectl set image \ | |
deployments \ | |
--selector app=zalenium \ | |
zalenium=dosel/zalenium:latest | |
kubectl get pods --all-namespaces -l app=zalenium | |
POD_NAME=$(kubectl get pods -l app=zalenium -o jsonpath={.items[0].metadata.name}) | |
kubectl describe deploy zalenium | |
kubectl describe pod ${POD_NAME} | |
kubectl rollout status deployments zalenium | |
#EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment