Uses of Class
org.cdk8s.plus22.Pod.Builder
-
-
Uses of Pod.Builder in org.cdk8s.plus22
Methods in org.cdk8s.plus22 that return Pod.Builder Modifier and Type Method Description Pod.BuilderPod.Builder. containers(List<? extends ContainerProps> containers)List of containers belonging to the pod.static Pod.BuilderPod.Builder. create(software.constructs.Construct scope, String id)Pod.BuilderPod.Builder. metadata(org.cdk8s.ApiObjectMetadata metadata)Metadata that all persisted resources must have, which includes all objects users must create.Pod.BuilderPod.Builder. restartPolicy(RestartPolicy restartPolicy)Restart policy for all containers within the pod.Pod.BuilderPod.Builder. serviceAccount(IServiceAccount serviceAccount)A service account provides an identity for processes that run in a Pod.Pod.BuilderPod.Builder. volumes(List<? extends Volume> volumes)List of volumes that can be mounted by containers belonging to the pod.
-