Skip to content

Instantly share code, notes, and snippets.

View christopheblin's full-sized avatar

Christophe Blin christopheblin

  • France
View GitHub Profile
@christopheblin
christopheblin / pod.yaml
Created July 2, 2021 12:15
K8s initialized to ready
apiVersion: v1
kind: Pod
metadata:
annotations:
workflows.argoproj.io/node-name: rt-coverage-gq4zh[0].mystep(0:xxx)
workflows.argoproj.io/outputs: '{"artifacts":[{"name":"main-logs","s3":{"key":"rt-coverage-gq4zh/rt-coverage-gq4zh-2289117842/main.log"}}]}'
workflows.argoproj.io/template: '{"name":"rt-coverage-mystep","inputs":{"parameters":[{"name":"coverage","value":"xxx"},{"name":"dataset","value":"xxx"}]},"outputs":{},"metadata":{"labels":{"coverage":"xxx","stepName":"mystep"}},"container":{"name":"","image":"registry.xxx.fr/mybus/loth/mystep","command":["/bin/sh"],"args":["-c","/app/exec.sh"],"envFrom":[{"secretRef":{"name":"argo-influx-secret"}},{"secretRef":{"name":"argo-xxx-xxx"}}],"env":[{"name":"COVERAGE","value":"xxx"},{"name":"DATASET","value":"xxx"}],"resources":{},"volumeMounts":[{"name":"out","mountPath":"/out"},{"name":"my-volume","mountPath":"/data"}]},"volumes":[{"name":"out","emptyDir":{}},{"name":"my-volume","persistentVolumeClaim":{"claimName":"my-share"}}],"archiveLocation":