Get Details for a Statefulset

get

/api/microservice/Workload/readForStatefulSetDetails

Gets the details for the statefulset running at the specified path.

Request

Query Parameters
  • The full path, in /{cluster}/{namespace}/{statefulset-name} format.
    Example:
    /cluster-1/a1-messaging/servicename

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Type: object
Show Source
  • data
    Returns a subset of Kubernetes StatefulSetDetail details. For full details, you can use the following command:
    a1k -n {namespace} -ojson get statefulset {statefulset-id}
  • The response message in text.
    Example:
  • Whether the operation was a success (true) or a failure (false).
    Example: true
Nested Schema : data
Type: object
Returns a subset of Kubernetes StatefulSetDetail details. For full details, you can use the following command:
a1k -n {namespace} -ojson get statefulset {statefulset-id}
Example:
{
    "Name":"Service Name",
    "Created":"2023-08-04T11:02:30Z",
    "Selector":{
        "Selector Details":"Value"
    },
    "Labels":{
        "Labels Details":"Value"
    },
    "Annotations":{
        "Annotations Details":"Value"
    },
    "Images":null,
    "Events":[
    ],
    "Pods":{
        "Pod Details":"Value"
    }
}

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top