Created
May 21, 2020 11:28
-
-
Save zubron/9820158aac7d7718941863361a9ee42f to your computer and use it in GitHub Desktop.
Sonobuoy plugins adapted with node selectors
This file contains 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
podSpec: | |
nodeSelector: | |
kubernetes.io/os: linux | |
kubernetes.io/arch: amd64 | |
containers: [] | |
restartPolicy: Never | |
serviceAccountName: sonobuoy-serviceaccount | |
tolerations: | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
operator: Exists | |
- key: CriticalAddonsOnly | |
operator: Exists | |
- key: kubernetes.io/e2e-evict-taint-key | |
operator: Exists | |
sonobuoy-config: | |
driver: Job | |
plugin-name: e2e | |
result-format: junit | |
spec: | |
command: | |
- /run_e2e.sh | |
env: | |
- name: E2E_FOCUS | |
value: \[Conformance\] | |
- name: E2E_SKIP | |
value: \[Disruptive\]|NoExecuteTaintManager | |
- name: E2E_PARALLEL | |
value: "1" | |
- name: E2E_USE_GO_RUNNER | |
value: "true" | |
- name: E2E_EXTRA_ARGS | |
value: --progress-report-url=http://localhost:8099/progress | |
image: gcr.io/google-containers/conformance:v1.17.0 | |
imagePullPolicy: Always | |
name: e2e | |
resources: {} | |
volumeMounts: | |
- mountPath: /tmp/results | |
name: results |
This file contains 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
podSpec: | |
nodeSelector: | |
kubernetes.io/os: linux | |
kubernetes.io/arch: amd64 | |
containers: [] | |
restartPolicy: Never | |
serviceAccountName: sonobuoy-serviceaccount | |
tolerations: | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
operator: Exists | |
- key: CriticalAddonsOnly | |
operator: Exists | |
- key: kubernetes.io/e2e-evict-taint-key | |
operator: Exists | |
sonobuoy-config: | |
driver: DaemonSet | |
plugin-name: systemd-logs | |
result-format: raw | |
spec: | |
command: | |
- /bin/sh | |
- -c | |
- /get_systemd_logs.sh && while true; do echo "Sleeping for 1h to avoid daemonset | |
restart"; sleep 3600; done | |
env: | |
- name: CHROOT_DIR | |
value: /node | |
- name: RESULTS_DIR | |
value: /tmp/results | |
- name: NODE_NAME | |
valueFrom: | |
fieldRef: | |
fieldPath: spec.nodeName | |
image: sonobuoy/systemd-logs:v0.3 | |
imagePullPolicy: Always | |
name: systemd-logs | |
resources: {} | |
securityContext: | |
privileged: true | |
volumeMounts: | |
- mountPath: /tmp/results | |
name: results | |
- mountPath: /node | |
name: root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment