Class RuntimeClassArgs.Builder

  • Enclosing class:
    RuntimeClassArgs

    public static final class RuntimeClassArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • apiVersion

        public RuntimeClassArgs.Builder apiVersion​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> apiVersion)
        Parameters:
        apiVersion - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Returns:
        builder
      • apiVersion

        public RuntimeClassArgs.Builder apiVersion​(java.lang.String apiVersion)
        Parameters:
        apiVersion - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Returns:
        builder
      • handler

        public RuntimeClassArgs.Builder handler​(com.pulumi.core.Output<java.lang.String> handler)
        Parameters:
        handler - Handler 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 Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.
        Returns:
        builder
      • handler

        public RuntimeClassArgs.Builder handler​(java.lang.String handler)
        Parameters:
        handler - Handler 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 Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.
        Returns:
        builder
      • kind

        public RuntimeClassArgs.Builder kind​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> kind)
        Parameters:
        kind - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Returns:
        builder
      • kind

        public RuntimeClassArgs.Builder kind​(java.lang.String kind)
        Parameters:
        kind - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Returns:
        builder
      • metadata

        public RuntimeClassArgs.Builder metadata​(@Nullable
                                                 com.pulumi.core.Output<ObjectMetaArgs> metadata)
        Parameters:
        metadata - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
        Returns:
        builder
      • metadata

        public RuntimeClassArgs.Builder metadata​(ObjectMetaArgs metadata)
        Parameters:
        metadata - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
        Returns:
        builder
      • overhead

        public RuntimeClassArgs.Builder overhead​(@Nullable
                                                 com.pulumi.core.Output<OverheadArgs> overhead)
        Parameters:
        overhead - Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/
        Returns:
        builder
      • overhead

        public RuntimeClassArgs.Builder overhead​(OverheadArgs overhead)
        Parameters:
        overhead - Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/
        Returns:
        builder
      • scheduling

        public RuntimeClassArgs.Builder scheduling​(@Nullable
                                                   com.pulumi.core.Output<SchedulingArgs> scheduling)
        Parameters:
        scheduling - Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.
        Returns:
        builder
      • scheduling

        public RuntimeClassArgs.Builder scheduling​(SchedulingArgs scheduling)
        Parameters:
        scheduling - Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.
        Returns:
        builder