https://dagster.io/ logo
Title
m

Mohammad Nazeeruddin

01/17/2022, 8:48 AM
Hi Team,
'dagster-k8s/config': {
        'job_spec_config': {
            'ttl_seconds_after_finished': 60
        },
Is it possible to add annotations in job_spec_config ?
{ "annotations" : "<http://argocd.argoproj.io/sync-options|argocd.argoproj.io/sync-options>": "Prune=false" }
job_metadata {
"annotations" : "<http://argocd.argoproj.io/sync-options|argocd.argoproj.io/sync-options>": "Prune=false"
}
Can we configure like this?
d

daniel

01/17/2022, 6:51 PM
annotations would go on job_metadata or pod_template_spec_metadata like in the example here: https://docs.dagster.io/deployment/guides/kubernetes/customizing-your-deployment#job-or-op-kubernetes-configuration - both should work depending on whether you want the annotations on the job or on the pod
👍 1