Skip to content
Terskikh Maria edited this page Oct 9, 2017 · 5 revisions

The chkit get command prints the list of all user objects of one of 3 types:

  • Deployment
  • Pod
  • Service
  • and Namespace information.

To get information about an object with chkit get, it is necessary to specify its name.

Command syntax

To execute chkit get, you need to specify:

Flag Parameter Description
KIND object type:  Deployment, Pod, Service

Optional parameters:

Flag Parameter Description
NAME name of an existing object
--output or -o OUTPUT output format: json, yaml, pretty. Note: the default value for  OUTPUT = pretty
--namespace or -n NAMESPACE Namespace name Note: the default value for NAMESPACE = default
--help or -h print usage info
--debug or -d print system info on command execution
--sort-by  or -s sort list Note: by default, the list is sorted by "NAME"
$ chkit [--debug -d ] get (KIND [NAME]) [-o OUTPUT] [--namespace NAMESPACE][--help | -h]

Example

$ chkit get deploy

+------------+------+-------------+------+-------+-----+
| NAME       | PODS | PODS ACTIVE | CPU  | RAM   | AGE |
+------------+------+-------------+------+-------+-----+
| myapp      | 2    | 2           | 200m | 256Mi | 18s |
+------------+------+-------------+------+-------+-----+
Clone this wiki locally