---
title: "Get Container list by namespace and seldonDeployment"
method: GET
path: "/mf/v1/service/containers/{namespace}/{service_name}"
tags: ["container"]
---

# Get Container list by namespace and seldonDeployment

`GET /mf/v1/service/containers/{namespace}/{service_name}`

## Path parameters

- `namespace` string, string, required
- `service_name` string, string, required

## Response `200`

OK

- Pod[]
  - `name` string — pod's name
  - `namespace` string — pod's namespaces
  - `status` string — pod's status
  - `reason` string — The reason why pod's status that it is.
  - `message` string — The message why pod's status that it is.
  - `containers` Container[] — containers in this pod.
    - `container_name` string — Name for the container.
    - `pod_name` string — Name of pod that this container belong to.
    - `namespace` string — k8s namespaces.
    - `image` string — Image's name for the container.
    - `image_id` string — Image's Id for the container.
    - `status` string — Status of the container.
    - `cpu` number — CPU.
    - `gpu` number — GPU.
    - `memory` string — Memory size.
    - `started_time` string — The time that container started to create.
    - `finished_time` string — The time that container fineshed to launch.

## Other responses

- `401` — Unauthorized
- `404` — Container list failed

---

[API](https://skmtc.dev/webankfintech/apis/mf-server.md) · [All operations](https://skmtc.dev/webankfintech/apis/mf-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webankfintech/mf-server/revisions/5ad7fc23d2c6/schema)
