Last active
April 17, 2018 06:55
-
-
Save r7vme/3ce040bd7e73331fdec8d33fa797d4eb to your computer and use it in GitHub Desktop.
kubernetes conformance one line
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
# | |
# Run this manifest with: | |
# | |
# curl -L https://gist.githubusercontent.com/r7vme/3ce040bd7e73331fdec8d33fa797d4eb/raw/599b782e71cb0d6e6471469698dbfc9669301b58/gistfile1.txt | kubectl apply -f - | |
# | |
# Collect logs: | |
# | |
# kubectl logs e2e -f | |
# | |
# For RBAC case, allow service account to list nodes: | |
# | |
# kubectl create clusterrolebinding default-admin \ | |
# --clusterrole=cluster-admin \ | |
# --serviceaccount=default:default | |
# | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: e2e | |
labels: | |
app: e2e | |
spec: | |
containers: | |
- name: e2e | |
image: gcr.io/heptio-images/kube-conformance:latest | |
env: | |
- name: E2E_FOCUS | |
value: '\[Conformance\]' | |
imagePullPolicy: Always | |
restartPolicy: Never |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment