StatefulSet.Builder |
StatefulSet.Builder.automountServiceAccountToken(Boolean automountServiceAccountToken) |
Indicates whether a service account token should be automatically mounted.
|
StatefulSet.Builder |
StatefulSet.Builder.containers(List<? extends ContainerProps> containers) |
List of containers belonging to the pod.
|
static StatefulSet.Builder |
StatefulSet.Builder.create(software.constructs.Construct scope,
String id) |
|
StatefulSet.Builder |
StatefulSet.Builder.dns(PodDnsProps dns) |
DNS settings for the pod.
|
StatefulSet.Builder |
StatefulSet.Builder.dockerRegistryAuth(DockerConfigSecret dockerRegistryAuth) |
A secret containing docker credentials for authenticating to a registry.
|
StatefulSet.Builder |
StatefulSet.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.
|
StatefulSet.Builder |
StatefulSet.Builder.initContainers(List<? extends ContainerProps> initContainers) |
List of initialization containers belonging to the pod.
|
StatefulSet.Builder |
StatefulSet.Builder.metadata(org.cdk8s.ApiObjectMetadata metadata) |
Metadata that all persisted resources must have, which includes all objects users must create.
|
StatefulSet.Builder |
StatefulSet.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.
|
StatefulSet.Builder |
StatefulSet.Builder.podManagementPolicy(PodManagementPolicy podManagementPolicy) |
Pod management policy to use for this statefulset.
|
StatefulSet.Builder |
StatefulSet.Builder.podMetadata(org.cdk8s.ApiObjectMetadata podMetadata) |
The pod metadata of this workload.
|
StatefulSet.Builder |
StatefulSet.Builder.replicas(Number replicas) |
Number of desired pods.
|
StatefulSet.Builder |
StatefulSet.Builder.restartPolicy(RestartPolicy restartPolicy) |
Restart policy for all containers within the pod.
|
StatefulSet.Builder |
StatefulSet.Builder.securityContext(PodSecurityContextProps securityContext) |
SecurityContext holds pod-level security attributes and common container settings.
|
StatefulSet.Builder |
StatefulSet.Builder.select(Boolean select) |
Automatically allocates a pod label selector for this workload and add it to the pod metadata.
|
StatefulSet.Builder |
StatefulSet.Builder.service(Service service) |
Service to associate with the statefulset.
|
StatefulSet.Builder |
StatefulSet.Builder.serviceAccount(IServiceAccount serviceAccount) |
A service account provides an identity for processes that run in a Pod.
|
StatefulSet.Builder |
StatefulSet.Builder.strategy(StatefulSetUpdateStrategy strategy) |
Indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
|
StatefulSet.Builder |
StatefulSet.Builder.volumes(List<? extends Volume> volumes) |
List of volumes that can be mounted by containers belonging to the pod.
|