Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Refactor vela cli to interact with Application instead of AppConfig and Component #877

Closed
12 tasks done
wonderflow opened this issue Jan 11, 2021 · 6 comments · Fixed by #1174
Closed
12 tasks done
Labels
type/enhancement New feature or request
Milestone

Comments

@wonderflow
Copy link
Collaborator

wonderflow commented Jan 11, 2021

Now we have successfully built Application Object which has done most appfile logic in controller. Our CLI should work with the Application object instead of AppConfig and Component.

Commands should be refactored

  • init Create scaffold for an application
  • delete APP_NAME Delete an application @zzxwill
  • exec [flags] APP_NAME -- COMMAND [args...] Execute command in a container
  • logs Tail logs for application
  • ls List services of all applications
  • port-forward APP_NAME Forward local ports to services in an application
  • status APP_NAME Show status of an application, including workloads and

Commands should be deprecated

we should use appfile instead of these commands.

  • vela svc deploy
  • vela route APP_NAME
  • vela scale APP_NAME
  • vela metrics APP_NAME
  • vela rollout APP_NAME
@wonderflow wonderflow added the type/enhancement New feature or request label Jan 11, 2021
@hongchaodeng hongchaodeng pinned this issue Jan 12, 2021
@captainroy-hy
Copy link
Collaborator

/assign

  • exec [flags] APP_NAME -- COMMAND [args...] Execute command in a container
  • logs Tail logs for application
  • port-forward APP_NAME Forward local ports to services in an application

@TomorJM
Copy link
Contributor

TomorJM commented Jan 14, 2021

/assign

  • status APP_NAME Show status of an application, including workloads and traits

@LeoLiuYan
Copy link
Contributor

/assign

  • ls List services of all applications
  • show APP_NAME Show details of an application

@wonderflow wonderflow added this to the KubeVela-v1.0 milestone Jan 25, 2021
@wonderflow
Copy link
Collaborator Author

@LeoLiuYan Hi, are you still working on this? We have made vela show command to print how traits and workloads schema is, so don't do this command any more, thanks!

@LeoLiuYan
Copy link
Contributor

@LeoLiuYan Hi, are you still working on this? We have made vela show command to print how traits and workloads schema is, so don't do this command any more, thanks!

Got it. Yes, I am still working on this.

@wonderflow
Copy link
Collaborator Author

@LeoLiuYan @captainroy-hy Hi,any progress on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants