Skip to main content
Version: latest

Retrieves specified cluster workloads

POST 

/v1/dashboard/spectroclusters/:uid/workloads

Retrieves specified cluster workloads

Request

Path Parameters

    uid stringrequired

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

    filter

    object

    Cluster workloads filter

    namespacesstring[]

Responses

An array of cluster workloads

Schema

    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.

    spec

    object

    Cluster workload spec

    clusterroleBindings

    object[]

  • Array [

  • metadata

    object

    Cluster workload metadata

    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
    namespacestring

    spec

    object

    Cluster RBAC binding

    namespacestring

    role

    object

    Cluster role ref

    kindstring

    Possible values: [Role, ClusterRole]

    namestring

    subjects

    object[]

  • Array [

  • namestring
    namespacestring
    typestring

    Possible values: [User, Group, ServiceAccount]

  • ]

  • typestring

    Possible values: [RoleBinding, ClusterRoleBinding]

  • ]

  • cronJobs

    object[]

  • Array [

  • metadata

    object

    Cluster workload metadata

    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
    namespacestring

    spec

    object

    Cluster workload cronjob spec

    schedulestring

    status

    object

    Cluster workload cronjob status

    lastScheduleTimedate-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.

  • ]

  • daemonSets

    object[]

  • Array [

  • metadata

    object

    Cluster workload metadata

    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
    namespacestring

    status

    object

    Cluster workload daemonset status

    availableint32
    currentScheduledint32
    desiredScheduledint32
    misScheduledint32
    readyint32
    updatedScheduledint32
  • ]

  • deployments

    object[]

  • Array [

  • metadata

    object

    Cluster workload metadata

    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
    namespacestring

    status

    object

    Cluster workload deployment status

    replicas

    object

    Cluster workload replica status

    availableint32
    readyint32
    totalint32
    updatedint32
  • ]

  • jobs

    object[]

  • Array [

  • metadata

    object

    Cluster workload metadata

    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
    namespacestring

    status

    object

    Cluster workload job status

    completionTimedate-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.

    conditions

    object[]

  • Array [

  • lastTransitionTimedate-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.

    lastUpdateTimedate-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.

    messagestring
    reasonstring
    statusstring
    typestring
  • ]

  • startTimedate-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.

    succeededint32
  • ]

  • 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
  • ]

  • roleBindings

    object[]

  • Array [

  • metadata

    object

    Cluster workload metadata

    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
    namespacestring

    spec

    object

    Cluster RBAC binding

    namespacestring

    role

    object

    Cluster role ref

    kindstring

    Possible values: [Role, ClusterRole]

    namestring

    subjects

    object[]

  • Array [

  • namestring
    namespacestring
    typestring

    Possible values: [User, Group, ServiceAccount]

  • ]

  • typestring

    Possible values: [RoleBinding, ClusterRoleBinding]

  • ]

  • statefulSets

    object[]

  • Array [

  • metadata

    object

    Cluster workload metadata

    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
    namespacestring

    status

    object

    Cluster workload statefulset status

    replicas

    object

    Cluster workload replica status

    availableint32
    readyint32
    totalint32
    updatedint32
  • ]

Loading...