Last active
January 18, 2021 13:11
-
-
Save gaborbarna/1d63e7c8e2ba6a862491becb179c0d18 to your computer and use it in GitHub Desktop.
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
| kubectl --context data-services.us-west-2a --namespace tools apply -f job.yaml | |
| kubectl --context data-services.us-west-2a --namespace tools get pods --selector=job-name=oit-test | |
| kubectl --context data-services.us-west-2a --namespace tools logs <pod name> |
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
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: oit-test | |
| spec: | |
| template: | |
| metadata: | |
| annotations: | |
| iam.amazonaws.com/role: kube2iam-outcome-ingestor-tool | |
| spec: | |
| containers: | |
| - name: oit-test | |
| image: docker.util.pages/network-ingestion/outcome-ingestion-tool:latest | |
| env: | |
| - name: SPARK_LOCAL_IP | |
| value: "127.0.0.1" | |
| command: | |
| - "java" | |
| - "-jar" | |
| - "/usr/local/oit/outcome-ingestor-tool-assembly-0.9.1.jar" | |
| - "handles" | |
| restartPolicy: Never | |
| backoffLimit: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
:latestwill require pull-policy always