Serhii
from prefect.infrastructure.kubernetes import KubernetesJob job = KubernetesJob() job.customizations = jsonpatch.JsonPatch([ { 'op': 'add', 'path': '/spec/template/metadata/labels', 'value': { '<http://app.kubernetes.io/instance|app.kubernetes.io/instance>': 'prefect-agent' } } ]) ...
jsonpointer.JsonPointerException: member 'metadata' not found in {'spec': {'containers': [{'env': [{'name': .....
{ 'op': 'add', 'path': '/spec/template', 'value': { 'metadata': { 'labels': { '<http://app.kubernetes.io/instance|app.kubernetes.io/instance>': 'prefect-agent' } } } }
Henning Holgersen
job.job
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.