Container.Builder |
Container.Builder.args(List<String> args) |
Arguments to the entrypoint.
|
Container.Builder |
Container.Builder.command(List<String> command) |
Entrypoint array.
|
static Container.Builder |
Container.Builder.create() |
|
Container.Builder |
Container.Builder.envFrom(List<? extends EnvFrom> envFrom) |
List of sources to populate environment variables in the container.
|
Container.Builder |
Container.Builder.envVariables(Map<String,? extends EnvValue> envVariables) |
Environment variables to set in the container.
|
Container.Builder |
Container.Builder.image(String image) |
Docker image name.
|
Container.Builder |
Container.Builder.imagePullPolicy(ImagePullPolicy imagePullPolicy) |
Image pull policy for this container.
|
Container.Builder |
Container.Builder.lifecycle(ContainerLifecycle lifecycle) |
Describes actions that the management system should take in response to container lifecycle events.
|
Container.Builder |
Container.Builder.liveness(Probe liveness) |
Periodic probe of container liveness.
|
Container.Builder |
Container.Builder.name(String name) |
Name of the container specified as a DNS_LABEL.
|
Container.Builder |
Container.Builder.port(Number port) |
Deprecated.
|
Container.Builder |
Container.Builder.portNumber(Number portNumber) |
Number of port to expose on the pod's IP address.
|
Container.Builder |
Container.Builder.ports(List<? extends ContainerPort> ports) |
List of ports to expose from this container.
|
Container.Builder |
Container.Builder.readiness(Probe readiness) |
Determines when the container is ready to serve traffic.
|
Container.Builder |
Container.Builder.resources(ContainerResources resources) |
Compute resources (CPU and memory requests and limits) required by the container.
|
Container.Builder |
Container.Builder.securityContext(ContainerSecurityContextProps securityContext) |
SecurityContext defines the security options the container should be run with.
|
Container.Builder |
Container.Builder.startup(Probe startup) |
StartupProbe indicates that the Pod has successfully initialized.
|
Container.Builder |
Container.Builder.volumeMounts(List<? extends VolumeMount> volumeMounts) |
Pod volumes to mount into the container's filesystem.
|
Container.Builder |
Container.Builder.workingDir(String workingDir) |
Container's working directory.
|