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

    MetricSpec specifies how to scale based on a single metric (only type and one other matching field should be set at once).

    Index

    Constructors

    Properties

    type: string

    type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.

    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 }[]