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

[Request] Have a command able to describe what is defined part of a component #8

Open
cmoulliard opened this issue Jun 12, 2019 · 0 comments
Assignees

Comments

@cmoulliard
Copy link
Contributor

Feature Request

Currently it is very hard to figure out what a component looks like

So I would like to propose that we add a new command to kreate in order to have the possibility to get such info

Examples

kreate get component -n <name>
where <name> is the name of the component

output
Name: name of the component
Labels: // list of labels
Annotations: // list of annotations
Status: 
Links: // Links assigned to the component
Envs: // Env vars created or enriched using Link
Capabilities: // List of capabilities used: db, ... 
Route: // URL of the route exposed
...

To get such info it is needed now that we execute several commands like

// To get a component or a link or a capability
kc get component/fruit-client-sb,link/link-to-fruit-backend,capability...

// To get the detail of a pod = component + env vars, ...
kc describe pod/$(kc get pod -n demo -lapp=fruit-client-sb | grep "Running" | awk '{print $1}')

// To get ENV vars created when container starts
kc exec -n demo $(kc get pod -n demo -lapp=fruit-backend-sb | grep "Running" | awk '{print $1}') env | grep DB 
@metacosm metacosm self-assigned this Jun 12, 2019
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