List Kubernetes Pod

List Kubernetes Pod

Only Solution users, Container developers, Container admins, and System admins can list KubernetesPods.

Request
URI
GET
https://{api_host}/container-service/api/resources/kubernetes-pods
COPY
Query Parameters
integer
page
Optional

Page Number

integer
limit
Optional

Number of entries per page

string
$orderby
Optional

Multiple comma-separated properties sorted in ascending or descending order

integer
$top
Optional

Sets the number of returned entries from the top of the response (total number per page in relation to skip)

integer
$skip
Optional

Sets how many entries you would like to skip

string
$filter
Optional

Boolean expression for whether a particular entry should be included in the response

Header Parameters
string
x-project
Optional

x-project


Responses
200

successful operation

Returns PageKubernetesPod of type(s) */*
{
    "number": 0,
    "numberOfElements": 0,
    "last": false,
    "size": 0,
    "totalPages": 0,
    "first": false,
    "content": [
        {
            "documentExpirationTimeMicros": "string",
            "parentLink": "string",
            "pod": {
                "metadata": {
                    "uid": "string",
                    "clusterName": "string",
                    "name": "string",
                    "namespace": "string",
                    "creationTimestamp": "string",
                    "generateName": "string",
                    "selfLink": "string"
                },
                "apiVersion": "string",
                "kind": "string",
                "spec": {
                    "dnsPolicy": "string",
                    "nodeName": "string",
                    "terminationGracePeriodSeconds": 0,
                    "hostNetwork": "string",
                    "volumes": [
                        {
                            "gcePersistentDisk": {
                                "partition": 0,
                                "readOnly": false,
                                "pdName": "string",
                                "fsType": "string"
                            },
                            "photonPersistentDisk": {
                                "pdID": "string",
                                "fsType": "string"
                            },
                            "quobyte": {
                                "volume": "string",
                                "registry": "string",
                                "readOnly": false,
                                "user": "string",
                                "group": "string"
                            },
                            "azureDisk": {
                                "diskName": "string",
                                "readOnly": false,
                                "diskURI": "string",
                                "fsType": "string"
                            },
                            "cinder": {
                                "volumeID": "string",
                                "readOnly": false,
                                "fsType": "string"
                            },
                            "downwardAPI": {
                                "defaultMode": 0,
                                "items": [
                                    {
                                        "mode": 0,
                                        "path": "string",
                                        "resourceFieldRef": {
                                            "divisor": "string",
                                            "resource": "string",
                                            "containerName": "string"
                                        },
                                        "fieldRef": {
                                            "apiVersion": "string",
                                            "fieldPath": "string"
                                        }
                                    }
                                ]
                            },
                            "azureFile": {
                                "secretName": "string",
                                "readOnly": false,
                                "shareName": "string"
                            },
                            "awsElasticBlockStore": {
                                "partition": 0,
                                "volumeID": "string",
                                "readOnly": false,
                                "fsType": "string"
                            },
                            "flexVolume": {
                                "driver": "string",
                                "secretRef": {
                                    "name": "string"
                                },
                                "readOnly": false,
                                "fsType": "string"
                            },
                            "secret": {
                                "secretName": "string",
                                "defaultMode": 0,
                                "items": [
                                    {
                                        "mode": 0,
                                        "path": "string",
                                        "key": "string"
                                    }
                                ]
                            },
                            "iscsi": {
                                "iscsiInterface": "string",
                                "lun": 0,
                                "iqn": "string",
                                "readOnly": false,
                                "fsType": "string",
                                "targetPortal": "string"
                            },
                            "cephfs": {
                                "path": "string",
                                "secretRef": {
                                    "name": "string"
                                },
                                "secretFile": "string",
                                "readOnly": false,
                                "user": "string",
                                "monitors": [
                                    "string"
                                ]
                            },
                            "rbd": {
                                "image": "string",
                                "pool": "string",
                                "readOnly": false,
                                "sourceRef": {
                                    "name": "string"
                                },
                                "fsType": "string",
                                "user": "string",
                                "keyring": "string",
                                "monitors": [
                                    "string"
                                ]
                            },
                            "configMap": {
                                "defaultMode": 0,
                                "name": "string",
                                "items": [
                                    {
                                        "mode": 0,
                                        "path": "string",
                                        "key": "string"
                                    }
                                ]
                            },
                            "emptyDir": {
                                "medium": "string"
                            },
                            "name": "string",
                            "nfs": {
                                "server": "string",
                                "path": "string",
                                "readOnly": false
                            },
                            "glusterfs": {
                                "path": "string",
                                "endpoints": "string",
                                "readOnly": false
                            },
                            "persistentVolumeClaim": {
                                "claimName": "string",
                                "readOnly": "string"
                            },
                            "gitRepo": {
                                "repository": "string",
                                "directory": "string",
                                "revision": "string"
                            },
                            "vsphereVolume": {
                                "volumePath": "string",
                                "fsType": "string"
                            },
                            "fc": {
                                "targetWWNs": [
                                    "string"
                                ],
                                "lun": 0,
                                "readOnly": false,
                                "fsType": "string"
                            },
                            "hostPath": {
                                "path": "string"
                            }
                        }
                    ],
                    "hostIPC": false,
                    "securityContext": {
                        "runAsUser": 0,
                        "fsGroup": 0,
                        "supplementalGroups": [
                            0
                        ],
                        "runAsNonRoot": false
                    },
                    "restartPolicy": "string",
                    "hostname": "string",
                    "subdomain": "string",
                    "containers": [
                        {
                            "image": "string",
                            "livenessProbe": {
                                "failureThreshold": 0,
                                "tcpSocket": {
                                    "port": "string"
                                },
                                "timeoutSeconds": 0,
                                "periodSeconds": 0,
                                "successThreshold": 0,
                                "initialDelaySeconds": 0,
                                "exec": {
                                    "command": [
                                        "string"
                                    ]
                                },
                                "httpGet": {
                                    "path": "string",
                                    "scheme": "string",
                                    "port": "string",
                                    "host": "string"
                                }
                            },
                            "imagePullPolicy": "string",
                            "stdin": false,
                            "terminationMessagePath": "string",
                            "workingDir": "string",
                            "resources": {},
                            "securityContext": {
                                "privileged": false,
                                "runAsUser": 0,
                                "runAsNonRoot": false,
                                "readOnlyRootFilesystem": false
                            },
                            "ports": [
                                {
                                    "protocol": "string",
                                    "hostIP": "string",
                                    "name": "string",
                                    "containerPort": 0,
                                    "hostPort": 0
                                }
                            ],
                            "env": [
                                {
                                    "name": "string",
                                    "value": "string",
                                    "valueFrom": {
                                        "secretKeyRef": {
                                            "name": "string",
                                            "key": "string"
                                        },
                                        "resourceFieldRef": {
                                            "divisor": "string",
                                            "resource": "string",
                                            "containerName": "string"
                                        },
                                        "fieldRef": {
                                            "apiVersion": "string",
                                            "fieldPath": "string"
                                        },
                                        "configMapKeyRef": {
                                            "name": "string",
                                            "key": "string"
                                        }
                                    }
                                }
                            ],
                            "command": [
                                "string"
                            ],
                            "volumeMounts": [
                                {
                                    "mountPath": "string",
                                    "name": "string",
                                    "readOnly": false,
                                    "subPath": "string"
                                }
                            ],
                            "args": [
                                "string"
                            ],
                            "lifecycle": {
                                "preStop": {
                                    "tcpSocket": {
                                        "port": "string"
                                    },
                                    "exec": {
                                        "command": [
                                            "string"
                                        ]
                                    },
                                    "httpGet": {
                                        "path": "string",
                                        "scheme": "string",
                                        "port": "string",
                                        "host": "string"
                                    }
                                },
                                "podStart": {
                                    "tcpSocket": {
                                        "port": "string"
                                    },
                                    "exec": {
                                        "command": [
                                            "string"
                                        ]
                                    },
                                    "httpGet": {
                                        "path": "string",
                                        "scheme": "string",
                                        "port": "string",
                                        "host": "string"
                                    }
                                }
                            },
                            "name": "string",
                            "tty": false,
                            "readinessProbe": {
                                "failureThreshold": 0,
                                "tcpSocket": {
                                    "port": "string"
                                },
                                "timeoutSeconds": 0,
                                "periodSeconds": 0,
                                "successThreshold": 0,
                                "initialDelaySeconds": 0,
                                "exec": {
                                    "command": [
                                        "string"
                                    ]
                                },
                                "httpGet": {
                                    "path": "string",
                                    "scheme": "string",
                                    "port": "string",
                                    "host": "string"
                                }
                            },
                            "stdinOnce": false
                        }
                    ],
                    "activeDeadlineSeconds": 0,
                    "hostPID": false
                },
                "status": {
                    "phase": "string",
                    "reason": "string",
                    "podIP": "string",
                    "containerStatuses": [
                        {
                            "image": "string",
                            "imageID": "string",
                            "restartCount": 0,
                            "ready": false,
                            "name": "string",
                            "state": {
                                "cpuShares": 0,
                                "volumesFrom": [
                                    "string"
                                ],
                                "ports": [
                                    {
                                        "protocol": "string",
                                        "hostIp": "string",
                                        "containerPort": "string",
                                        "hostPort": "string"
                                    }
                                ],
                                "compositeComponentLink": "string",
                                "hostReference": "string",
                                "powerState": "string",
                                "isDeleted": false,
                                "groupResourcePlacementLink": "string",
                                "extraHosts": [
                                    "string"
                                ],
                                "tagLinks": [
                                    "string"
                                ],
                                "groupLinks": [
                                    "string"
                                ],
                                "links": [
                                    "string"
                                ],
                                "id": "string",
                                "image": "string",
                                "documentExpirationTimeMicros": "string",
                                "parentLink": "string",
                                "address": "string",
                                "created": 0,
                                "volumeDriver": "string",
                                "volumes": [
                                    "string"
                                ],
                                "descriptionLink": "string",
                                "started": 0,
                                "env": [
                                    "string"
                                ],
                                "storageLimit": 0,
                                "command": [
                                    "string"
                                ],
                                "documentUpdateTimeMicros": "string",
                                "names": [
                                    "string"
                                ],
                                "system": false,
                                "adapterManagementReference": "string",
                                "regionId": "string",
                                "documentSelfLink": "string",
                                "name": "string",
                                "memoryLimit": 0,
                                "tenantLinks": [
                                    "string"
                                ],
                                "desc": "string",
                                "status": "string"
                            },
                            "lastState": {
                                "cpuShares": 0,
                                "volumesFrom": [
                                    "string"
                                ],
                                "ports": [
                                    {
                                        "protocol": "string",
                                        "hostIp": "string",
                                        "containerPort": "string",
                                        "hostPort": "string"
                                    }
                                ],
                                "compositeComponentLink": "string",
                                "hostReference": "string",
                                "powerState": "string",
                                "isDeleted": false,
                                "groupResourcePlacementLink": "string",
                                "extraHosts": [
                                    "string"
                                ],
                                "tagLinks": [
                                    "string"
                                ],
                                "groupLinks": [
                                    "string"
                                ],
                                "links": [
                                    "string"
                                ],
                                "id": "string",
                                "image": "string",
                                "documentExpirationTimeMicros": "string",
                                "parentLink": "string",
                                "address": "string",
                                "created": 0,
                                "volumeDriver": "string",
                                "volumes": [
                                    "string"
                                ],
                                "descriptionLink": "string",
                                "started": 0,
                                "env": [
                                    "string"
                                ],
                                "storageLimit": 0,
                                "command": [
                                    "string"
                                ],
                                "documentUpdateTimeMicros": "string",
                                "names": [
                                    "string"
                                ],
                                "system": false,
                                "adapterManagementReference": "string",
                                "regionId": "string",
                                "documentSelfLink": "string",
                                "name": "string",
                                "memoryLimit": 0,
                                "tenantLinks": [
                                    "string"
                                ],
                                "desc": "string",
                                "status": "string"
                            },
                            "containerID": "string"
                        }
                    ],
                    "hostIP": "string",
                    "startTime": "string",
                    "conditions": [
                        {
                            "reason": "string",
                            "type": "string",
                            "lastTransitionTime": "string",
                            "message": "string",
                            "status": "string",
                            "lastProbeTime": "string"
                        }
                    ],
                    "message": "string"
                }
            },
            "descriptionLink": "string",
            "kubernetesSelfLink": "string",
            "compositeComponentLink": "string",
            "documentUpdateTimeMicros": "string",
            "regionId": "string",
            "documentSelfLink": "string",
            "tagLinks": [
                "string"
            ],
            "name": "string",
            "groupLinks": [
                "string"
            ],
            "tenantLinks": [
                "string"
            ],
            "id": "string",
            "desc": "string"
        }
    ],
    "totalElements": 0
}
integer As int32 As int32
number
Optional

number

integer As int32 As int32
numberOfElements
Optional

numberOfElements

boolean
last
Optional

last

integer As int32 As int32
size
Optional

size

integer As int32 As int32
totalPages
Optional

totalPages

sort
Optional

sort

boolean
first
Optional

first

content
Optional

content

integer As int64 As int64
totalElements
Optional

totalElements