jina-ai / jcloud

Simplify deploying and managing Jina projects on Jina Cloud

Home Page:https://docs.jina.ai/concepts/jcloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: let the user define a name for deployment

florian-hoenicke opened this issue · comments

It would be helpful to let us configure names for the deployments. That way we have an easier time distinguishing all different deployments.

When running jc list, I get the following list:
image
One of the deployments is for one of our customers, another one is an example. Then there are two test flows I started.
I have to maintain my own list remembering what deployment is for what. Specifying the flow name on creation would help me re-identifying it later.

User Acceptance Criteria

  • I can set a custom flow name when deploying a flow with jcloud
  • the flow name is shown when running jc list

@florian-hoenicke You can already pass --name field while deploying a Flow. This is an undocumented feature.

The name passed for your Flows are nowapi, hence all Flows look the same 😄

image

fyi, with new self-hosting deployments, we will be moving name field into the Flow YAML.

Okay thanks - we will try this out