INPUT_OBJECT

KubernetesKindDeploymentSpecTemplateSpecContainersInput

A single application container that you want to run within a pod.

link GraphQL Schema definition

  • input KubernetesKindDeploymentSpecTemplateSpecContainersInput {
  • args: [String]
  • command: [String]
  • # EnvVar represents an environment variable present in a Container.
  • env: [KubernetesKindDeploymentSpecTemplateSpecContainersEnvInput]
  • # EnvFromSource represents the source of a set of ConfigMaps
  • envFrom: [KubernetesKindDeploymentSpecTemplateSpecContainersEnvFromInput]
  • # Docker image name. More info:
  • # https://kubernetes.io/docs/concepts/containers/images This field is optional to
  • # allow higher level config management to default or override container images in
  • # workload controllers like Deployments and StatefulSets.
  • image: String
  • # Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if
  • # :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More
  • # info: https://kubernetes.io/docs/concepts/containers/images#updating-images
  • imagePullPolicy: String
  • # Actions that the management system should take in response to container
  • # lifecycle events. Cannot be updated.
  • lifecycle: KubernetesKindDeploymentSpecTemplateSpecContainersLifecycleInput
  • # Periodic probe of container liveness. Container will be restarted if the probe
  • # fails. Cannot be updated. More info:
  • # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  • livenessProbe: KubernetesKindDeploymentSpecTemplateSpecContainersLivenessProbeInput
  • # Name of the container specified as a DNS_LABEL. Each container in a pod must
  • # have a unique name (DNS_LABEL). Cannot be updated.
  • name: String
  • # ContainerPort represents a network port in a single container.
  • ports: [KubernetesKindDeploymentSpecTemplateSpecContainersPortsInput]
  • # Periodic probe of container service readiness. Container will be removed from
  • # service endpoints if the probe fails. Cannot be updated. More info:
  • # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  • readinessProbe: KubernetesKindDeploymentSpecTemplateSpecContainersReadinessProbeInput
  • # Compute Resources required by this container. Cannot be updated. More info:
  • # https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
  • resources: KubernetesKindDeploymentSpecTemplateSpecContainersResourcesInput
  • # Security options the pod should run with. More info:
  • # https://kubernetes.io/docs/concepts/policy/security-context/ More info:
  • # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
  • securityContext: KubernetesKindDeploymentSpecTemplateSpecContainersSecurityContextInput
  • # StartupProbe indicates that the Pod has successfully initialized. If specified,
  • # no other probes are executed until this completes successfully. If this probe
  • # fails, the Pod will be restarted, just as if the livenessProbe failed. This can
  • # be used to provide different probe parameters at the beginning of a Pod's
  • # lifecycle, when it might take a long time to load data or warm a cache, than
  • # during steady-state operation. This cannot be updated. This is a beta feature
  • # enabled by the StartupProbe feature flag. More info:
  • # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  • startupProbe: KubernetesKindDeploymentSpecTemplateSpecContainersStartupProbeInput
  • # Whether this container should allocate a buffer for stdin in the container
  • # runtime. If this is not set, reads from stdin in the container will always
  • # result in EOF. Default is false.
  • stdin: Boolean
  • # Whether the container runtime should close the stdin channel after it has been
  • # opened by a single attach. When stdin is true the stdin stream will remain open
  • # across multiple attach sessions. If stdinOnce is set to true, stdin is opened on
  • # container start, is empty until the first client attaches to stdin, and then
  • # remains open and accepts data until the client disconnects, at which time stdin
  • # is closed and remains closed until the container is restarted. If this flag is
  • # false, a container processes that reads from stdin will never receive an EOF.
  • # Default is false
  • stdinOnce: Boolean
  • # Optional: Path at which the file to which the container's termination message
  • # will be written is mounted into the container's filesystem. Message written is
  • # intended to be brief final status, such as an assertion failure message. Will be
  • # truncated by the node if greater than 4096 bytes. The total message length
  • # across all containers will be limited to 12kb. Defaults to /dev/termination-log.
  • # Cannot be updated.
  • terminationMessagePath: String
  • # Indicate how the termination message should be populated. File will use the
  • # contents of terminationMessagePath to populate the container status message on
  • # both success and failure. FallbackToLogsOnError will use the last chunk of
  • # container log output if the termination message file is empty and the container
  • # exited with an error. The log output is limited to 2048 bytes or 80 lines,
  • # whichever is smaller. Defaults to File. Cannot be updated.
  • terminationMessagePolicy: String
  • # Whether this container should allocate a TTY for itself, also requires 'stdin'
  • # to be true. Default is false.
  • tty: Boolean
  • # volumeDevice describes a mapping of a raw block device within a container.
  • volumeDevices: [KubernetesKindDeploymentSpecTemplateSpecContainersVolumeDevicesInput]
  • # VolumeMount describes a mounting of a Volume within a container.
  • volumeMounts: [KubernetesKindDeploymentSpecTemplateSpecContainersVolumeMountsInput]
  • # Container's working directory. If not specified, the container runtime's default
  • # will be used, which might be configured in the container image. Cannot be
  • # updated.
  • workingDir: String
  • }