...

Text file src/k8s.io/api/testdata/v1.28.0/autoscaling.v2beta1.HorizontalPodAutoscaler.json

Documentation: k8s.io/api/testdata/v1.28.0

     1{
     2  "kind": "HorizontalPodAutoscaler",
     3  "apiVersion": "autoscaling/v2beta1",
     4  "metadata": {
     5    "name": "nameValue",
     6    "generateName": "generateNameValue",
     7    "namespace": "namespaceValue",
     8    "selfLink": "selfLinkValue",
     9    "uid": "uidValue",
    10    "resourceVersion": "resourceVersionValue",
    11    "generation": 7,
    12    "creationTimestamp": "2008-01-01T01:01:01Z",
    13    "deletionTimestamp": "2009-01-01T01:01:01Z",
    14    "deletionGracePeriodSeconds": 10,
    15    "labels": {
    16      "labelsKey": "labelsValue"
    17    },
    18    "annotations": {
    19      "annotationsKey": "annotationsValue"
    20    },
    21    "ownerReferences": [
    22      {
    23        "apiVersion": "apiVersionValue",
    24        "kind": "kindValue",
    25        "name": "nameValue",
    26        "uid": "uidValue",
    27        "controller": true,
    28        "blockOwnerDeletion": true
    29      }
    30    ],
    31    "finalizers": [
    32      "finalizersValue"
    33    ],
    34    "managedFields": [
    35      {
    36        "manager": "managerValue",
    37        "operation": "operationValue",
    38        "apiVersion": "apiVersionValue",
    39        "time": "2004-01-01T01:01:01Z",
    40        "fieldsType": "fieldsTypeValue",
    41        "fieldsV1": {},
    42        "subresource": "subresourceValue"
    43      }
    44    ]
    45  },
    46  "spec": {
    47    "scaleTargetRef": {
    48      "kind": "kindValue",
    49      "name": "nameValue",
    50      "apiVersion": "apiVersionValue"
    51    },
    52    "minReplicas": 2,
    53    "maxReplicas": 3,
    54    "metrics": [
    55      {
    56        "type": "typeValue",
    57        "object": {
    58          "target": {
    59            "kind": "kindValue",
    60            "name": "nameValue",
    61            "apiVersion": "apiVersionValue"
    62          },
    63          "metricName": "metricNameValue",
    64          "targetValue": "0",
    65          "selector": {
    66            "matchLabels": {
    67              "matchLabelsKey": "matchLabelsValue"
    68            },
    69            "matchExpressions": [
    70              {
    71                "key": "keyValue",
    72                "operator": "operatorValue",
    73                "values": [
    74                  "valuesValue"
    75                ]
    76              }
    77            ]
    78          },
    79          "averageValue": "0"
    80        },
    81        "pods": {
    82          "metricName": "metricNameValue",
    83          "targetAverageValue": "0",
    84          "selector": {
    85            "matchLabels": {
    86              "matchLabelsKey": "matchLabelsValue"
    87            },
    88            "matchExpressions": [
    89              {
    90                "key": "keyValue",
    91                "operator": "operatorValue",
    92                "values": [
    93                  "valuesValue"
    94                ]
    95              }
    96            ]
    97          }
    98        },
    99        "resource": {
   100          "name": "nameValue",
   101          "targetAverageUtilization": 2,
   102          "targetAverageValue": "0"
   103        },
   104        "containerResource": {
   105          "name": "nameValue",
   106          "targetAverageUtilization": 2,
   107          "targetAverageValue": "0",
   108          "container": "containerValue"
   109        },
   110        "external": {
   111          "metricName": "metricNameValue",
   112          "metricSelector": {
   113            "matchLabels": {
   114              "matchLabelsKey": "matchLabelsValue"
   115            },
   116            "matchExpressions": [
   117              {
   118                "key": "keyValue",
   119                "operator": "operatorValue",
   120                "values": [
   121                  "valuesValue"
   122                ]
   123              }
   124            ]
   125          },
   126          "targetValue": "0",
   127          "targetAverageValue": "0"
   128        }
   129      }
   130    ]
   131  },
   132  "status": {
   133    "observedGeneration": 1,
   134    "lastScaleTime": "2002-01-01T01:01:01Z",
   135    "currentReplicas": 3,
   136    "desiredReplicas": 4,
   137    "currentMetrics": [
   138      {
   139        "type": "typeValue",
   140        "object": {
   141          "target": {
   142            "kind": "kindValue",
   143            "name": "nameValue",
   144            "apiVersion": "apiVersionValue"
   145          },
   146          "metricName": "metricNameValue",
   147          "currentValue": "0",
   148          "selector": {
   149            "matchLabels": {
   150              "matchLabelsKey": "matchLabelsValue"
   151            },
   152            "matchExpressions": [
   153              {
   154                "key": "keyValue",
   155                "operator": "operatorValue",
   156                "values": [
   157                  "valuesValue"
   158                ]
   159              }
   160            ]
   161          },
   162          "averageValue": "0"
   163        },
   164        "pods": {
   165          "metricName": "metricNameValue",
   166          "currentAverageValue": "0",
   167          "selector": {
   168            "matchLabels": {
   169              "matchLabelsKey": "matchLabelsValue"
   170            },
   171            "matchExpressions": [
   172              {
   173                "key": "keyValue",
   174                "operator": "operatorValue",
   175                "values": [
   176                  "valuesValue"
   177                ]
   178              }
   179            ]
   180          }
   181        },
   182        "resource": {
   183          "name": "nameValue",
   184          "currentAverageUtilization": 2,
   185          "currentAverageValue": "0"
   186        },
   187        "containerResource": {
   188          "name": "nameValue",
   189          "currentAverageUtilization": 2,
   190          "currentAverageValue": "0",
   191          "container": "containerValue"
   192        },
   193        "external": {
   194          "metricName": "metricNameValue",
   195          "metricSelector": {
   196            "matchLabels": {
   197              "matchLabelsKey": "matchLabelsValue"
   198            },
   199            "matchExpressions": [
   200              {
   201                "key": "keyValue",
   202                "operator": "operatorValue",
   203                "values": [
   204                  "valuesValue"
   205                ]
   206              }
   207            ]
   208          },
   209          "currentValue": "0",
   210          "currentAverageValue": "0"
   211        }
   212      }
   213    ],
   214    "conditions": [
   215      {
   216        "type": "typeValue",
   217        "status": "statusValue",
   218        "lastTransitionTime": "2003-01-01T01:01:01Z",
   219        "reason": "reasonValue",
   220        "message": "messageValue"
   221      }
   222    ]
   223  }
   224}

View as plain text