oc-schedulerd/conf/monitor_pod_template.yml

17 lines
599 B
YAML
Raw Permalink Normal View History

2024-07-29 15:45:32 +02:00
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