Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(cli): provide useful info in kubectl CLI #4325

Merged
merged 1 commit into from
May 5, 2023

Conversation

squakez
Copy link
Contributor

@squakez squakez commented May 4, 2023

With this PR we are exposing some useful information by default int kube CLI:

squake:~/workspace/camel-k [main]$ kubectl get it
NAME   PHASE     RUNTIME PROVIDER   RUNTIME VERSION   KIT                        REPLICAS
test   Running   quarkus            3.20.1-SNAPSHOT   kit-ch596vsqgf4s73emsj6g   1
squake:~/workspace/camel-k [main]$ kubectl get ik
NAME                       ALIAS            PHASE   TYPE       LAYOUT     IMAGE
kit-ch596vsqgf4s73emsj6g   my-awesome-kit   Ready   platform   fast-jar   10.100.175.64/default/camel-k-kit-ch596vsqgf4s73emsj6g@sha256:33fe9888322e13543e62f8c2618772821d34a1899efaa80c25f2d98309ca3c2e
squake:~/workspace/camel-k [main]$ kubectl get ip
NAME      PHASE   BUILD STRATEGY   PUBLISH STRATEGY   REGISTRY ADDRESS   DEFAULT RUNTIME
camel-k   Ready   pod              Spectrum           10.100.175.64      2.16.0-SNAPSHOT
squake:~/workspace/camel-k [main]$ kubectl get camelcatalog
NAME                            RUNTIME PROVIDER   RUNTIME VERSION   RUNTIME CAMEL VERSION   PHASE
camel-catalog-2.16.0-snapshot   quarkus            2.16.0-SNAPSHOT   3.20.1                  Ready

Alias in kit is an annotation that the end user can customize updating the CR with any value he choose.

Closes #4205
Closes #4172

Release Note

feat(cli): provide useful info in kubectl CLI

@squakez squakez added the kind/feature New feature or request label May 4, 2023
@squakez squakez merged commit 71ceccf into apache:main May 5, 2023
@squakez squakez deleted the feat/more_cli_infos branch May 5, 2023 07:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/feature New feature or request
Projects
None yet
2 participants