Get all the services in particular namespace
kn service get -n test
NAME DOMAIN GENERATION AGE CONDITIONS READY REASON
autoscale-go autoscale-go.test.example.com 1 124m 0 OK / 3 Unknown RevisionMissing : Configuration "autoscale-go" is waiting for a Revision to become ready.
test1 test1.test.example.com 1 118m 0 OK / 3 False RevisionMissing : Configuration "test1" does not have any ready Revision.
get a particular service by specifying service name
current:
kn service get -n test autoscale-go
NAME DOMAIN GENERATION AGE CONDITIONS READY REASON
autoscale-go autoscale-go.test.example.com 1 125m 0 OK / 3 Unknown RevisionMissing : Configuration "autoscale-go" is waiting for a Revision to become ready.
test1 test1.test.example.com 1 119m 0 OK / 3 False RevisionMissing : Configuration "test1" does not have any ready Revision.
Expected: Should list only that perticular service.
something like below
kn service get -n test autoscale-go
NAME DOMAIN GENERATION AGE CONDITIONS READY REASON
autoscale-go autoscale-go.test.example.com 1 125m 0 OK / 3 Unknown RevisionMissing : Configuration "autoscale-go" is waiting for a Revision to become ready.
Because of above behavior when we do
kn service get -n test autoscale-go -o yaml
It will give the detailed yaml info for all the services.
Applicable for all kn commands
Get all the services in particular namespace
get a particular service by specifying service name
current:
Expected: Should list only that perticular service.
something like below
Because of above behavior when we do
It will give the detailed yaml info for all the services.
Applicable for all kn commands