https://prefect.io logo
Title
n

Naila Chennit

09/05/2022, 6:27 PM
Hello everyone ! I updated prefect to
2.1.1
vesrion and when deploying my flows using kubernestes-job as infrastructure, im having this error below with
manifest_path
argument
manifest_path
  none is not an allowed value (type=type_error.none.not_allowed)
is it mendatory to set the
manisfest_path
? Here is my deployment def
deployment = Deployment.build_from_flow(
flow=my_flow,
name="tes-deployment",
version="1",
work_queue_name="kubernetes",
tags=["dev"],
ignorefile='.prefectignore',
storage=storage,
infrastructure=infra
)
1
a

Anna Geller

09/05/2022, 8:51 PM
it's only kept for backwards compatibility, if you upgrade to the latest version, you don't have to worry about manifest.json
n

Naila Chennit

09/06/2022, 7:11 AM
Hello Anna, thank you for your response I already tested with prefect
2.3.1
, but still have the same error with
manifest_path
arg : /
a

Anna Geller

09/06/2022, 8:29 AM
Can you try the same using prefect deployment CLI?