Skip to main content
Version: latest

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 is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations

    property name*string

    labels

    object

    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels

    property name*string
    namestring

    Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names

Loading...