Class RuntimeClassSpec.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.node.v1alpha1.RuntimeClassSpec.Builder
-
- Enclosing class:
- RuntimeClassSpec
public static class RuntimeClassSpec.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeClassSpec
build()
RuntimeClassSpec.Builder
overhead(Overhead overhead)
RuntimeClassSpec.Builder
runtimeHandler(@NonNull java.lang.String runtimeHandler)
RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class.RuntimeClassSpec.Builder
scheduling(Scheduling scheduling)
java.lang.String
toString()
-
-
-
Method Detail
-
overhead
public RuntimeClassSpec.Builder overhead(Overhead overhead)
-
runtimeHandler
public RuntimeClassSpec.Builder runtimeHandler(@NonNull @NonNull java.lang.String runtimeHandler)
RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.- Returns:
this
.
-
scheduling
public RuntimeClassSpec.Builder scheduling(Scheduling scheduling)
-
build
public RuntimeClassSpec build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-