Skip to main content

Retrieves specified workspace clusters workload pods

POST 

/v1/dashboard/workspaces/:uid/spectroclusters/workloads/pod

Retrieves specified workspace clusters workload pods

Request

Path Parameters

    uid stringrequired

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

    filter object

    Workspace workloads filter

    clustersstring[]
    namespacesstring[]

Responses

An array of clusters workload pods

Schema
    clusters object[]
  • Array [
  • metadata object

    Object for which the resource is related

    kindstring

    Possible values: [spectrocluster, machine, cloudconfig, clusterprofile, pack, appprofile, appdeployment, edgehost]

    namestring
    uidstring
    pods object[]
  • Array [
  • metadata object

    Cluster workload pod metadata

    associatedRefs object[]
  • Array [
  • kindstring
    namestring
    uidstring
  • ]
  • creationTimestampdate-time

    Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

    entity object

    Cluster workload ref

    kindstring
    namestring
    uidstring
    labels object
    property name*string
    machineUidstring
    namespacestring
    nodenamestring
    spec object

    Cluster workload pod spec

    containers object[]
  • Array [
  • imagestring
    namestring
    resources object

    Cluster workload pod container resources

    limits object

    Cluster workload pod container resource

    cpuint32
    cpuUnitstring
    memoryint64
    memoryUnitstring
    requests object

    Cluster workload pod container resource

    cpuint32
    cpuUnitstring
    memoryint64
    memoryUnitstring
  • ]
  • volumes object[]
  • Array [
  • namestring
  • ]
  • status object

    Cluster workload pod status

    containers object[]
  • Array [
  • imagestring
    namestring
    readyboolean
    restartCountint32
    startedboolean
    state object

    Cluster workload pod container state

    exitCodeint32
    finishedAtdate-time

    Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

    reasonstring
    startedAtdate-time

    Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

    statestring
  • ]
  • phasestring
    podIpstring
    qosClassstring
  • ]
  • ]
  • metadata object

    ObjectMeta input entity for object creation

    annotations object

    Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set

    property name*string
    labels object

    Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag

    property name*string
    namestring

    Name of the resource

Loading...