@kubernetes/client-node
    Preparing search index...

    ResourceRequirements describes the compute resource requirements.

    Index

    Constructors

    Properties

    Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers.

    limits?: { [key: string]: string }

    Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

    requests?: { [key: string]: string }

    Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

    attributeTypeMap: {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[] = ...
    discriminator: undefined | string = undefined
    mapping: undefined | { [index: string]: string } = undefined

    Methods

    • Returns { baseName: string; format: string; name: string; type: string }[]