oc-schedulerd/conf/monitor_pod_template.yml
2024-07-29 15:45:32 +02:00

17 lines
599 B
YAML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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