| Modifier and Type | Method and Description |
|---|---|
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.env(Map<String,? extends EnvValue> env)
List of 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.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)
Number of port to expose on the pod's IP address.
|
Container.Builder |
Container.Builder.readiness(Probe readiness)
Determines when the container is ready to serve traffic.
|
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.
|
Copyright © 2021. All rights reserved.