curl --location --request GET '/apis/autoscaling/v2beta2/horizontalpodautoscalers'
{
"apiVersion": "string",
"items": [
{
"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": {
"behavior": {
"scaleDown": {
"policies": [
{
"periodSeconds": 0,
"type": "string",
"value": 0
}
],
"selectPolicy": "string",
"stabilizationWindowSeconds": 0
},
"scaleUp": {
"policies": [
{
"periodSeconds": 0,
"type": "string",
"value": 0
}
],
"selectPolicy": "string",
"stabilizationWindowSeconds": 0
}
},
"maxReplicas": 0,
"metrics": [
{
"containerResource": {
"container": "string",
"name": "string",
"target": {
"averageUtilization": 0,
"averageValue": "string",
"type": "string",
"value": "string"
}
},
"external": {
"metric": {
"name": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
}
},
"target": {
"averageUtilization": 0,
"averageValue": "string",
"type": "string",
"value": "string"
}
},
"object": {
"describedObject": {
"apiVersion": "string",
"kind": "string",
"name": "string"
},
"metric": {
"name": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
}
},
"target": {
"averageUtilization": 0,
"averageValue": "string",
"type": "string",
"value": "string"
}
},
"pods": {
"metric": {
"name": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
}
},
"target": {
"averageUtilization": 0,
"averageValue": "string",
"type": "string",
"value": "string"
}
},
"resource": {
"name": "string",
"target": {
"averageUtilization": 0,
"averageValue": "string",
"type": "string",
"value": "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",
"current": {
"averageUtilization": 0,
"averageValue": "string",
"value": "string"
},
"name": "string"
},
"external": {
"current": {
"averageUtilization": 0,
"averageValue": "string",
"value": "string"
},
"metric": {
"name": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
}
}
},
"object": {
"current": {
"averageUtilization": 0,
"averageValue": "string",
"value": "string"
},
"describedObject": {
"apiVersion": "string",
"kind": "string",
"name": "string"
},
"metric": {
"name": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
}
}
},
"pods": {
"current": {
"averageUtilization": 0,
"averageValue": "string",
"value": "string"
},
"metric": {
"name": "string",
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
}
}
},
"resource": {
"current": {
"averageUtilization": 0,
"averageValue": "string",
"value": "string"
},
"name": "string"
},
"type": "string"
}
],
"currentReplicas": 0,
"desiredReplicas": 0,
"lastScaleTime": "2019-08-24T14:15:22Z",
"observedGeneration": 0
}
}
],
"kind": "string",
"metadata": {
"continue": "string",
"remainingItemCount": 0,
"resourceVersion": "string",
"selfLink": "string"
}
}