Skip to main content
POST
Create a debug pod

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cluster_id
string<uuid>
required

The cluster.

Body

application/json
namespace
string
required
target_pod_name
string | null

A pod to attach beside, sharing its node and optionally its mounts and environment.

target_container_name
string | null
image
string

Defaults to the catalogue's default image; any image is accepted.

command
string[]
mirror_volume_mounts
boolean | null
mirror_environment
boolean | null
ttl_seconds
integer | null

How long the pod lives before it is removed.

Response

The debug pod.

pod_name
string
required
namespace
string
required
container_name
string
required
image
string
required
node_name
string
required
phase
string
required
ready
boolean
required
expires_at
string<date-time>
required
mirrored_volumes
string[]
required
mirrored_volume_mounts
string[]
required
mirrored_environment_variables
integer
required
mirrored_environment_sources
integer
required
warnings
string[]
required
requested_by
string
required
target_pod_name
string | null
target_container_name
string | null
service_account_name
string | null