Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

acorn ps -A should includ the project in the output #2473

Open
cjellick opened this issue Feb 2, 2024 — with Slack · 1 comment
Open

acorn ps -A should includ the project in the output #2473

cjellick opened this issue Feb 2, 2024 — with Slack · 1 comment
Labels
kind/bug Something isn't working
Milestone

Comments

Copy link
Member

cjellick commented Feb 2, 2024

I have no idea what project the apps are coming from. I should. Current sample output:

$ acorn ps -A
NAME              IMAGE                          COMMIT         CREATED   ENDPOINTS                                                   MESSAGE
blue-resonance    ghcr.io/acorn-io/hello-world   afc94afd9684   13d ago   http://webapp-blue-resonance-6223ac1f.local.oss-acorn.io    OK
frosty-dream      ghcr.io/acorn-io/hello-world   afc94afd9684   13d ago   http://webapp-frosty-dream-52c2cc1b.local.oss-acorn.io      OK
sparkling-shape   ghcr.io/acorn-io/hello-world   afc94afd9684   13d ago   http://webapp-sparkling-shape-924402be.local.oss-acorn.io   OK
@cjellick cjellick added the kind/bug Something isn't working label Feb 2, 2024 — with Slack
@cjellick cjellick added this to the Backlog milestone Feb 2, 2024 — with Slack
@sangee2004
Copy link
Contributor

sangee2004 commented Feb 2, 2024

  1. Logged in to prod using acorn login
  2. acorn ps -A when in the context of a local project results in listing only apps from acorn project which is in prod (it does not list apps from other projects in prod or any project in local cluster).
%acorn project use kubeconfig/acorn 
 % acorn ps -A                        
NAME      IMAGE                           COMMIT         CREATED    ENDPOINTS                                 MESSAGE
kk3       sangeetha/myfirstacorn:v0.0.1                  2d3h ago   https://<endpoint>  OK
ddd       ghcr.io/acorn-io/hello-world    afc94afd9684   8d ago     https://<endpoint>  OK
rrr       ghcr.io/acorn-io/hello-world    afc94afd9684   9d ago     https://<endpoint>    OK
 % acorn apps 
NAME      IMAGE          COMMIT    CREATED   ENDPOINTS                                        MESSAGE
tt        d0f2d2d2b544             22m ago   http://<endpoint>    OK
  1. acorn ps -A when in the context of a prod project , results in listing only apps in local projects.
%acorn project use acorn
% acorn ps -A    
NAME                  IMAGE          COMMIT    CREATED   ENDPOINTS                                        MESSAGE
kubeconfig/acorn/tt   d0f2d2d2b544             23m ago   http://<endpoint>  OK
kubeconfig/test1/tt   d0f2d2d2b544             22m ago   http://<endpoint>  OK
 % acorn apps     
NAME      IMAGE                           COMMIT         CREATED    ENDPOINTS                                 MESSAGE
kk3       sangeetha/myfirstacorn:v0.0.1                  2d3h ago   https://<endpoint>   OK
ddd       ghcr.io/acorn-io/hello-world    afc94afd9684   8d ago     https://<endpoint>  OK
rrr       ghcr.io/acorn-io/hello-world    afc94afd9684   9d ago     https://<endpoint>  OK

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants