Hi, I am trying to run deployment on K8s based on ...
# ask-community
b
Hi, I am trying to run deployment on K8s based on these docs: https://docs.prefect.io/tutorials/_kubernetes-flow-runner/ But when I try to run the command:
Copy code
prefect deployment create ./kubernetes-deployment.py
I get this error:
Copy code
No such command 'create'.
My prefect version is 2.0.0 Anyone know what might be the cause?
o
It's probably a case of outdated documentation, deployments were changed just as Prefect 2 went from beta to release. You can read more about how they work here: https://orion-docs.prefect.io/concepts/deployments/ although I have no idea how easy it'll be applying it to what you're trying to do.
👀 1
b
Thanks! I thought that v1 docs were tagged with different url, quite confusing....
o
Hmm, I thought so too. I'm sure I've seen it. Maybe there are edge cases. 🙂
👍 1
k
v1 is tagged with a different URL actually. It is https://docs-v1.prefect.io/