ServiceTemplateSpecContainer constructor
- Input<
List< ? args,String> ?> - Input<
List< ? commands,String> ?> - Input<
List< ? envFroms,ServiceTemplateSpecContainerEnvFrom> ?> - Input<
List< ? envs,ServiceTemplateSpecContainerEnv> ?> - required Input<
String> image, - Input<
ServiceTemplateSpecContainerLivenessProbe?> ? livenessProbe, - Input<
String?> ? name, - Input<
List< ? ports,ServiceTemplateSpecContainerPort> ?> - Input<
ServiceTemplateSpecContainerReadinessProbe?> ? readinessProbe, - Input<
ServiceTemplateSpecContainerResources?> ? resources, - Input<
bool?> ? sandboxLauncher, - Input<
ServiceTemplateSpecContainerStartupProbe?> ? startupProbe, - Input<
List< ? volumeMounts,ServiceTemplateSpecContainerVolumeMount> ?> - Input<
String?> ? workingDir,
Creates a new ServiceTemplateSpecContainer.
args Arguments to the entrypoint.
commands Entrypoint array. Not executed within a shell.
envFroms (Optional, Deprecated)
envs List of environment variables to set in the container.
image Docker image name. This is most often a reference to a container located
livenessProbe Periodic probe of container liveness. Container will be restarted if the probe fails. More info:
name Name of the container
ports List of open ports in the container.
readinessProbe Periodic probe of container readiness.
resources Compute Resources required by this container. Used to set values such as max memory
sandboxLauncher Indicates that this container can act as a sandbox supervisor and launch sandboxes.
startupProbe Startup probe of application within the container.
volumeMounts Volume to mount into the container's filesystem.
workingDir (Optional, Deprecated)
Implementation
const ServiceTemplateSpecContainer({
this.args,
this.commands,
this.envFroms,
this.envs,
required this.image,
this.livenessProbe,
this.name,
this.ports,
this.readinessProbe,
this.resources,
this.sandboxLauncher,
this.startupProbe,
this.volumeMounts,
this.workingDir,
});