17 lines
599 B
YAML
17 lines
599 B
YAML
apiVersion: v1
|
||
kind: Pod
|
||
metadata:
|
||
name: test-monitor
|
||
spec:
|
||
containers:
|
||
- name: "oc-workflow-{{.CONTAINER_NAME}}"
|
||
image: docker.io/library/oc-monitor # Currently uses the local contenaird
|
||
imagePullPolicy: IfNotPresent # This should be removed once a registry has been set up
|
||
env:
|
||
- name: "OCMONITOR_ARGOFILE"
|
||
value: "{{.ARGO_FILE}}"
|
||
- name: "OCMONITOR_LOKIURL"
|
||
value: "{{.LOKI_URL}}" # !!!! In dev this must be replaced with the address of one of your interface (wifi, ethernet..)
|
||
restartPolicy: OnFailure
|
||
|