Pod

Pod
Pod
JSON Example
{
    "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"
    }
}
metadata
Optional

metadata

string
apiVersion
Optional

apiVersion

string
kind
Optional

kind

spec
Optional

spec

status
Optional

status

Property Of