ServiceTemplateContainerArgs

data class ServiceTemplateContainerArgs(val args: Output<List<String>>? = null, val commands: Output<List<String>>? = null, val dependsOns: Output<List<String>>? = null, val envs: Output<List<ServiceTemplateContainerEnvArgs>>? = null, val image: Output<String>, val livenessProbe: Output<ServiceTemplateContainerLivenessProbeArgs>? = null, val name: Output<String>? = null, val ports: Output<List<ServiceTemplateContainerPortArgs>>? = null, val resources: Output<ServiceTemplateContainerResourcesArgs>? = null, val startupProbe: Output<ServiceTemplateContainerStartupProbeArgs>? = null, val volumeMounts: Output<List<ServiceTemplateContainerVolumeMountArgs>>? = null, val workingDir: Output<String>? = null) : ConvertibleToJava<ServiceTemplateContainerArgs>

Constructors

Link copied to clipboard
constructor(args: Output<List<String>>? = null, commands: Output<List<String>>? = null, dependsOns: Output<List<String>>? = null, envs: Output<List<ServiceTemplateContainerEnvArgs>>? = null, image: Output<String>, livenessProbe: Output<ServiceTemplateContainerLivenessProbeArgs>? = null, name: Output<String>? = null, ports: Output<List<ServiceTemplateContainerPortArgs>>? = null, resources: Output<ServiceTemplateContainerResourcesArgs>? = null, startupProbe: Output<ServiceTemplateContainerStartupProbeArgs>? = null, volumeMounts: Output<List<ServiceTemplateContainerVolumeMountArgs>>? = null, workingDir: Output<String>? = null)

Properties

Link copied to clipboard
val args: Output<List<String>>? = null

Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

Link copied to clipboard
val commands: Output<List<String>>? = null

Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

Link copied to clipboard
val dependsOns: Output<List<String>>? = null

Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.

Link copied to clipboard

List of environment variables to set in the container. Structure is documented below.

Link copied to clipboard
val image: Output<String>

URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images

Link copied to clipboard

Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

Link copied to clipboard
val name: Output<String>? = null

Name of the container specified as a DNS_LABEL.

Link copied to clipboard

List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.

Link copied to clipboard

Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.

Link copied to clipboard

Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

Link copied to clipboard

Volume to mount into the container's filesystem. Structure is documented below.

Link copied to clipboard
val workingDir: Output<String>? = null

Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

Functions

Link copied to clipboard
open override fun toJava(): ServiceTemplateContainerArgs