This topic describes how to use the command-line interface (CLI) to create applications or view containers in which applications run.
Prerequisites
Create an application by using the CLI
View containers by using the CLI
In the CLI, run the kubectl get pods
command to list all the running containers in the default namespace.
NAME READY STATUS RESTARTS AGE
nginx-2721357637-d**** 1/1 Running 1 9h