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

When adding applications to a cluster, the feedback needs to be more specific #396

Open
fernando-villalba opened this issue Apr 26, 2024 · 1 comment

Comments

@fernando-villalba
Copy link
Contributor

Issue

When adding applications to a cluster, the feedback is insufficient:

Consider these two examples:

civo kubernetes create  --size g4s.kube.xsmall --nodes 1 test-app
civo kubernetes applications add postgresql:5GB,uptime-kuma:1GB,volcano  --cluster test-app

output:

% civo kubernetes create  --size g4s.kube.xsmall --nodes 1 test-app                                                     
civo kubernetes applications add postgresql:5GB,uptime-kuma:1GB,volcano  --cluster test-app
The cluster test-app (74e90d95-b159-45db-8b1c-93e26162302c) has been created
The application was installed in the Kubernetes cluster test-app

And this:

civo kubernetes create --size g4s.kube.xsmall --nodes 1 --applications postgresql:5GB,uptime-kuma:1GB,volcano test-app

Output:

 % civo kubernetes create --size g4s.kube.xsmall --nodes 1 --applications postgresql:5GB,uptime-kuma:1GB,volcano test-app
The cluster test-app (3aad83f1-ad19-43db-98e0-c019b7287ee6) has been created

Acceptance Criteria

  • When you create an application/s, the command needs to output what applications were created exactly.
  • The output should also ideally tell you if any volumes were created, the names and the cost for each volume.
@dipu989
Copy link
Contributor

dipu989 commented Oct 19, 2024

@fernando-villalba I am working on this issue.

I have formatted the command output to display a list of all the installed applications on the cluster. Let me know if you think this output looks good. The API returns a list of all installed apps, so it’s convenient to show them all in the CLI and informative for the end user as well.

Alternatively, let me know if we only want to show the applications that were created by the specific command (e.g., postgresql, uptime-kuma, volcano), excluding the ones that were installed by default (e.g., metrics-server, traefik2-nodeport) when the cluster is spun up.

I am attaching a screenshot for your reference. If this looks good to you, I will raise the PR.

image

CC: @uzaxirr @alessandroargentieri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants