List PODs
Your Storefront Cloud instance may consist of one or many PODs. Pods are the smallest deployable units of computing that can be created and managed in Kubernetes.
A pod (as in a pod of whales or pea pod) is a group of one or more containers (such as Docker containers), with shared storage/network, and a specification for how to run the containers. A pod’s contents are always co-located and co-scheduled, and run in a shared context. A pod models an application-specific “logical host” - it contains one or more application containers which are relatively tightly coupled — in a pre-container world, being executed on the same physical or virtual machine would mean being executed on the same logical host.
In Vue Storefront your instance is initialized with the following PODs (the names are automatically generated and are subject to change in your project):
┌─────────────────────────────────────────────┬──────────┬──────────┬─────────────────────────┐
│ POD name │ Role │ State │ Start time │
├─────────────────────────────────────────────┼──────────┼──────────┼─────────────────────────┤
│ elasticsearch-75cf68b6b7-thjsx │ elastic │ Running │ 2018-10-12T11:36:05Z │
├─────────────────────────────────────────────┼──────────┼──────────┼─────────────────────────┤
│ kibana-69777f68b-dd6s5 │ │ Running │ 2018-10-09T13:24:06Z │
├─────────────────────────────────────────────┼──────────┼──────────┼─────────────────────────┤
│ nginx-6d68c9557-l67l2 │ nginx │ Running │ 2018-10-09T13:24:02Z │
├─────────────────────────────────────────────┼──────────┼──────────┼─────────────────────────┤
│ redis-84d7c989c9-5j4tq │ redis │ Running │ 2018-10-09T13:24:06Z │
├─────────────────────────────────────────────┼──────────┼──────────┼─────────────────────────┤
│ vue-storefront-848799bd5d-zvcd4 │ front │ Running │ 2018-10-12T11:46:09Z │
├─────────────────────────────────────────────┼──────────┼──────────┼─────────────────────────┤
│ vue-storefront-api-5c5dbc57fd-l9fhr │ api │ Running │ 2018-10-12T14:14:37Z │
└─────────────────────────────────────────────┴──────────┴──────────┴─────────────────────────┘
To list the available PODs in your environment, please run the following command:
node scripts/cli.js pods
You may run the subsequent cli
calls using the selected POD context.