Container

Container
Container
JSON Example
{
    "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
}
string
image
Optional

image

livenessProbe
Optional

livenessProbe

string
imagePullPolicy
Optional

imagePullPolicy

boolean
stdin
Optional

stdin

string
terminationMessagePath
Optional

terminationMessagePath

string
workingDir
Optional

workingDir

resources
Optional

resources

securityContext
Optional

securityContext

ports
Optional

ports

array of EnvVar
env
Optional

env

array of string
command
Optional

command

volumeMounts
Optional

volumeMounts

array of string
args
Optional

args

lifecycle
Optional

lifecycle

string
name
Optional

name

boolean
tty
Optional

tty

readinessProbe
Optional

readinessProbe

boolean
stdinOnce
Optional

stdinOnce

Property Of