feat(cli): Add support for image versions
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
f9a3f24590
commit
3ba40a4811
1 changed files with 5 additions and 0 deletions
|
|
@ -200,6 +200,11 @@ function status() {
|
||||||
log info Openreplay Component
|
log info Openreplay Component
|
||||||
kubecolor get po -n "${APP_NS}"
|
kubecolor get po -n "${APP_NS}"
|
||||||
kubecolor get po -n "${DB_NS}"
|
kubecolor get po -n "${DB_NS}"
|
||||||
|
echo
|
||||||
|
log info Openreplay Images
|
||||||
|
echo
|
||||||
|
kubectl get pods -n "${APP_NS}" -o jsonpath='{range .items[*]}{@.metadata.name}{" "}{@.spec.containers[*].image}{"\n"}{end}' | column -t
|
||||||
|
kubectl get pods -n "${DB_NS}" -o jsonpath='{range .items[*]}{@.metadata.name}{" "}{@.spec.containers[*].image}{"\n"}{end}' | column -t
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue