dazzling-gigabyte-17650
11/10/2023, 2:47 PMfreezing-airport-6809
thankful-minister-83577
domains
section to the inline section of the values file it should just work.thankful-minister-83577
dazzling-gigabyte-17650
11/13/2023, 8:16 AMthankful-minister-83577
thankful-minister-83577
namespace_mapping
keythankful-minister-83577
dazzling-gigabyte-17650
11/13/2023, 8:30 AMconfiguration:
...
inline:
namespace_mapping: "my_namespace"
How would this work if I still have would have the multiple domains, e.g. would it work or do the domains need different namespaces? Would the tasks collide? I will probably reduce it to 1 atm, but just wondering of you knowthankful-minister-83577
configuration:
...
inline:
namespace_mapping:
template: "my_namespace"
thankful-minister-83577
dazzling-gigabyte-17650
11/13/2023, 10:07 AMpyflyte run --remote test-flyte.py my_wf
locally, and this command worked before the change
Error output:
Failed with Exception Code: USER:BadInputToAPI
Request rejected by the API, due to Invalid input.
Input Request: {
"id": {
"resourceType": "TASK",
"project": "flytesnacks",
"domain": "development",
"name": "test-flyte.say_hello",
"version": "b_d_E4Z_z_rT29-NTEMwJg=="
},
"spec": {
"template": {
"id": {
"resourceType": "TASK",
"project": "flytesnacks",
"domain": "development",
"name": "test-flyte.say_hello",
"version": "b_d_E4Z_z_rT29-NTEMwJg=="
},
"type": "python-task",
"metadata": {
"runtime": {
"type": "FLYTE_SDK",
"version": "1.10.0",
"flavor": "python"
},
"retries": {}
},
"interface": {
"inputs": {},
"outputs": {
"variables": {
"o0": {
"type": {
"simple": "STRING"
},
"description": "o0"
}
}
}
},
"container": {
"image": "cr.flyte.org/flyteorg/flytekit:py3.9-1.10.0",
"args": [
"pyflyte-fast-execute",
"--additional-distribution",
"s3://my-s3-bucket/flytesnacks/development/VFHXBA7JMPJY6JJ5JPTO276N2Q======/script_mode.tar.gz",
"--dest-dir",
"/root",
"--",
"pyflyte-execute",
"--inputs",
"{{.input}}",
"--output-prefix",
"{{.outputPrefix}}",
"--raw-output-data-prefix",
"{{.rawOutputDataPrefix}}",
"--checkpoint-path",
"{{.checkpointOutputPrefix}}",
"--prev-checkpoint",
"{{.prevCheckpointPrefix}}",
"--resolver",
"flytekit.core.python_auto_container.default_task_resolver",
"--",
"task-module",
"test-flyte",
"task-name",
"say_hello"
],
"resources": {}
}
},
"description": {
"longDescription": {
"format": "DESCRIPTION_FORMAT_RST"
}
}
}dazzling-gigabyte-17650
11/13/2023, 10:09 AMdazzling-gigabyte-17650
11/13/2023, 10:11 AM