curl --location --request GET '/apis/autoscaling/v2beta1/namespaces//horizontalpodautoscalers/'
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {
"property1": "string",
"property2": "string"
},
"clusterName": "string",
"creationTimestamp": "2019-08-24T14:15:22Z",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "2019-08-24T14:15:22Z",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"labels": {
"property1": "string",
"property2": "string"
},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": {},
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "2019-08-24T14:15:22Z"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"maxReplicas": 0,
"metrics": [
{
"containerResource": {
"container": "string",
"name": "string",
"targetAverageUtilization": 0,
"targetAverageValue": "string"
},
"external": {
"metricName": "string",
"metricSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
},
"targetAverageValue": "string",
"targetValue": "string"
},
"object": {
"averageValue": "string",
"metricName": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
},
"target": {
"apiVersion": "string",
"kind": "string",
"name": "string"
},
"targetValue": "string"
},
"pods": {
"metricName": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
},
"targetAverageValue": "string"
},
"resource": {
"name": "string",
"targetAverageUtilization": 0,
"targetAverageValue": "string"
},
"type": "string"
}
],
"minReplicas": 0,
"scaleTargetRef": {
"apiVersion": "string",
"kind": "string",
"name": "string"
}
},
"status": {
"conditions": [
{
"lastTransitionTime": "2019-08-24T14:15:22Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"currentMetrics": [
{
"containerResource": {
"container": "string",
"currentAverageUtilization": 0,
"currentAverageValue": "string",
"name": "string"
},
"external": {
"currentAverageValue": "string",
"currentValue": "string",
"metricName": "string",
"metricSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
}
},
"object": {
"averageValue": "string",
"currentValue": "string",
"metricName": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
},
"target": {
"apiVersion": "string",
"kind": "string",
"name": "string"
}
},
"pods": {
"currentAverageValue": "string",
"metricName": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
}
},
"resource": {
"currentAverageUtilization": 0,
"currentAverageValue": "string",
"name": "string"
},
"type": "string"
}
],
"currentReplicas": 0,
"desiredReplicas": 0,
"lastScaleTime": "2019-08-24T14:15:22Z",
"observedGeneration": 0
}
}