| Modifier and Type | Method and Description |
|---|---|
static Probe |
Probe.fromCommand(List<String> command)
Defines a probe based on a command which is executed within the container.
|
static Probe |
Probe.fromCommand(List<String> command,
CommandProbeOptions options)
Defines a probe based on a command which is executed within the container.
|
static Probe |
Probe.fromHttpGet(String path)
Defines a probe based on an HTTP GET request to the IP address of the container.
|
static Probe |
Probe.fromHttpGet(String path,
HttpGetProbeOptions options)
Defines a probe based on an HTTP GET request to the IP address of the container.
|
default Probe |
ContainerProps.getLiveness()
Periodic probe of container liveness.
|
Probe |
ContainerProps.Jsii$Proxy.getLiveness() |
default Probe |
ContainerProps.getReadiness()
Determines when the container is ready to serve traffic.
|
Probe |
ContainerProps.Jsii$Proxy.getReadiness() |
default Probe |
ContainerProps.getStartup()
StartupProbe indicates that the Pod has successfully initialized.
|
Probe |
ContainerProps.Jsii$Proxy.getStartup() |
| Modifier and Type | Method and Description |
|---|---|
ContainerProps.Builder |
ContainerProps.Builder.liveness(Probe liveness)
Sets the value of
ContainerProps.getLiveness() |
Container.Builder |
Container.Builder.liveness(Probe liveness)
Periodic probe of container liveness.
|
ContainerProps.Builder |
ContainerProps.Builder.readiness(Probe readiness)
Sets the value of
ContainerProps.getReadiness() |
Container.Builder |
Container.Builder.readiness(Probe readiness)
Determines when the container is ready to serve traffic.
|
ContainerProps.Builder |
ContainerProps.Builder.startup(Probe startup)
Sets the value of
ContainerProps.getStartup() |
Container.Builder |
Container.Builder.startup(Probe startup)
StartupProbe indicates that the Pod has successfully initialized.
|
| Constructor and Description |
|---|
Jsii$Proxy(String image,
List<String> args,
List<String> command,
Map<String,? extends EnvValue> env,
ImagePullPolicy imagePullPolicy,
Probe liveness,
String name,
Number port,
Probe readiness,
Probe startup,
List<? extends VolumeMount> volumeMounts,
String workingDir)
Constructor that initializes the object based on literal property values passed by the
ContainerProps.Builder. |
Copyright © 2021. All rights reserved.