Class RuntimeClassSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.node.v1alpha1.RuntimeClassSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RuntimeClassSpecBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RuntimeClassSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<RuntimeClassSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuntimeClassSpec()
No args constructor for use in serializationRuntimeClassSpec(Overhead overhead, String runtimeHandler, Scheduling scheduling)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeClassSpecBuilder
edit()
Map<String,Object>
getAdditionalProperties()
Overhead
getOverhead()
RuntimeClassSpec is a specification of a RuntimeClass.String
getRuntimeHandler()
RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class.Scheduling
getScheduling()
RuntimeClassSpec is a specification of a RuntimeClass.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setOverhead(Overhead overhead)
RuntimeClassSpec is a specification of a RuntimeClass.void
setRuntimeHandler(String runtimeHandler)
RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class.void
setScheduling(Scheduling scheduling)
RuntimeClassSpec is a specification of a RuntimeClass.RuntimeClassSpecBuilder
toBuilder()
-
-
-
Constructor Detail
-
RuntimeClassSpec
public RuntimeClassSpec()
No args constructor for use in serialization
-
RuntimeClassSpec
public RuntimeClassSpec(Overhead overhead, String runtimeHandler, Scheduling scheduling)
-
-
Method Detail
-
getOverhead
public Overhead getOverhead()
RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.
-
setOverhead
public void setOverhead(Overhead overhead)
RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.
-
getRuntimeHandler
public String getRuntimeHandler()
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.
-
setRuntimeHandler
public void setRuntimeHandler(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.
-
getScheduling
public Scheduling getScheduling()
RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.
-
setScheduling
public void setScheduling(Scheduling scheduling)
RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.
-
edit
public RuntimeClassSpecBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<RuntimeClassSpecBuilder>
-
toBuilder
public RuntimeClassSpecBuilder toBuilder()
-
-