Get Details for a Running Replicaset
get
/api/microservice/Workload/readForReplicaSetDetails
Gets the details for the replicaset running at the specified path.
Request
Query Parameters
-
path(required): string
The full path, in /{cluster}/{namespace}/{replicaset-name} format.Example:
/cluster-1/a1-cache/example-poller-5749c48df5
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
Show Source
object
-
data: object
data
Returns a subset of Kubernetes replicaSet details. For full details, you can use the following command: a1k -n {namespace} -ojson get replicaset {replicaset-id}
-
message: string
The response message in text.Example:
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : data
Type:
object
Returns a subset of Kubernetes replicaSet details. For full details, you can use the following command:
a1k -n {namespace} -ojson get replicaset {replicaset-id}
Example:
{
"Created":"2023-10-21T11:20:46Z",
"Annotations":{
"Annotations Details":"Value"
},
"Name":"example-poller-5749c48df5",
"Namespace":"a1-cache",
"Labels":{
"Labels Details":"Value"
},
"Conditions":null,
"Replicas":1,
"Selector":{
"Selector Details":"Value"
},
"NodeSelector":null,
"Tolerations":null,
"Images":[
"router.example.com/assure1/example-poller:v6.0.3-0.0.54"
],
"ControlledBy":[
"Deployment/example-poller"
],
"Events":[
],
"Pods":{
"Pod Details":"Value"
}
}
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
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