jina-ai / jcloud

Simplify deploying and managing Jina projects on Jina Cloud
https://docs.jina.ai/concepts/jcloud/
Apache License 2.0
298 stars 13 forks source link

feat: let the user define a name for deployment #85

Closed florian-hoenicke closed 2 years ago

florian-hoenicke commented 2 years ago

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

deepankarm commented 2 years ago

@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 :smile:

image

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

florian-hoenicke commented 2 years ago

Okay thanks - we will try this out