Deployment.Builder |
Deployment.Builder.automountServiceAccountToken(Boolean automountServiceAccountToken) |
Indicates whether a service account token should be automatically mounted.
|
Deployment.Builder |
Deployment.Builder.containers(List<? extends ContainerProps> containers) |
List of containers belonging to the pod.
|
static Deployment.Builder |
Deployment.Builder.create(software.constructs.Construct scope,
String id) |
|
Deployment.Builder |
Deployment.Builder.dns(PodDnsProps dns) |
DNS settings for the pod.
|
Deployment.Builder |
Deployment.Builder.dockerRegistryAuth(ISecret dockerRegistryAuth) |
A secret containing docker credentials for authenticating to a registry.
|
Deployment.Builder |
Deployment.Builder.hostAliases(List<? extends HostAlias> hostAliases) |
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
|
Deployment.Builder |
Deployment.Builder.hostNetwork(Boolean hostNetwork) |
Host network for the pod.
|
Deployment.Builder |
Deployment.Builder.initContainers(List<? extends ContainerProps> initContainers) |
List of initialization containers belonging to the pod.
|
Deployment.Builder |
Deployment.Builder.isolate(Boolean isolate) |
Isolates the pod.
|
Deployment.Builder |
Deployment.Builder.metadata(org.cdk8s.ApiObjectMetadata metadata) |
Metadata that all persisted resources must have, which includes all objects users must create.
|
Deployment.Builder |
Deployment.Builder.minReady(org.cdk8s.Duration minReady) |
Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available.
|
Deployment.Builder |
Deployment.Builder.podMetadata(org.cdk8s.ApiObjectMetadata podMetadata) |
The pod metadata of this workload.
|
Deployment.Builder |
Deployment.Builder.progressDeadline(org.cdk8s.Duration progressDeadline) |
The maximum duration for a deployment to make progress before it is considered to be failed.
|
Deployment.Builder |
Deployment.Builder.replicas(Number replicas) |
Number of desired pods.
|
Deployment.Builder |
Deployment.Builder.restartPolicy(RestartPolicy restartPolicy) |
Restart policy for all containers within the pod.
|
Deployment.Builder |
Deployment.Builder.securityContext(PodSecurityContextProps securityContext) |
SecurityContext holds pod-level security attributes and common container settings.
|
Deployment.Builder |
Deployment.Builder.select(Boolean select) |
Automatically allocates a pod label selector for this workload and add it to the pod metadata.
|
Deployment.Builder |
Deployment.Builder.serviceAccount(IServiceAccount serviceAccount) |
A service account provides an identity for processes that run in a Pod.
|
Deployment.Builder |
Deployment.Builder.spread(Boolean spread) |
Automatically spread pods across hostname and zones.
|
Deployment.Builder |
Deployment.Builder.strategy(DeploymentStrategy strategy) |
Specifies the strategy used to replace old Pods by new ones.
|
Deployment.Builder |
Deployment.Builder.terminationGracePeriod(org.cdk8s.Duration terminationGracePeriod) |
Grace period until the pod is terminated.
|
Deployment.Builder |
Deployment.Builder.volumes(List<? extends Volume> volumes) |
List of volumes that can be mounted by containers belonging to the pod.
|