...

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

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

     1apiVersion: autoscaling/v2beta1
     2kind: HorizontalPodAutoscaler
     3metadata:
     4  annotations:
     5    annotationsKey: annotationsValue
     6  creationTimestamp: "2008-01-01T01:01:01Z"
     7  deletionGracePeriodSeconds: 10
     8  deletionTimestamp: "2009-01-01T01:01:01Z"
     9  finalizers:
    10  - finalizersValue
    11  generateName: generateNameValue
    12  generation: 7
    13  labels:
    14    labelsKey: labelsValue
    15  managedFields:
    16  - apiVersion: apiVersionValue
    17    fieldsType: fieldsTypeValue
    18    fieldsV1: {}
    19    manager: managerValue
    20    operation: operationValue
    21    subresource: subresourceValue
    22    time: "2004-01-01T01:01:01Z"
    23  name: nameValue
    24  namespace: namespaceValue
    25  ownerReferences:
    26  - apiVersion: apiVersionValue
    27    blockOwnerDeletion: true
    28    controller: true
    29    kind: kindValue
    30    name: nameValue
    31    uid: uidValue
    32  resourceVersion: resourceVersionValue
    33  selfLink: selfLinkValue
    34  uid: uidValue
    35spec:
    36  maxReplicas: 3
    37  metrics:
    38  - containerResource:
    39      container: containerValue
    40      name: nameValue
    41      targetAverageUtilization: 2
    42      targetAverageValue: "0"
    43    external:
    44      metricName: metricNameValue
    45      metricSelector:
    46        matchExpressions:
    47        - key: keyValue
    48          operator: operatorValue
    49          values:
    50          - valuesValue
    51        matchLabels:
    52          matchLabelsKey: matchLabelsValue
    53      targetAverageValue: "0"
    54      targetValue: "0"
    55    object:
    56      averageValue: "0"
    57      metricName: metricNameValue
    58      selector:
    59        matchExpressions:
    60        - key: keyValue
    61          operator: operatorValue
    62          values:
    63          - valuesValue
    64        matchLabels:
    65          matchLabelsKey: matchLabelsValue
    66      target:
    67        apiVersion: apiVersionValue
    68        kind: kindValue
    69        name: nameValue
    70      targetValue: "0"
    71    pods:
    72      metricName: metricNameValue
    73      selector:
    74        matchExpressions:
    75        - key: keyValue
    76          operator: operatorValue
    77          values:
    78          - valuesValue
    79        matchLabels:
    80          matchLabelsKey: matchLabelsValue
    81      targetAverageValue: "0"
    82    resource:
    83      name: nameValue
    84      targetAverageUtilization: 2
    85      targetAverageValue: "0"
    86    type: typeValue
    87  minReplicas: 2
    88  scaleTargetRef:
    89    apiVersion: apiVersionValue
    90    kind: kindValue
    91    name: nameValue
    92status:
    93  conditions:
    94  - lastTransitionTime: "2003-01-01T01:01:01Z"
    95    message: messageValue
    96    reason: reasonValue
    97    status: statusValue
    98    type: typeValue
    99  currentMetrics:
   100  - containerResource:
   101      container: containerValue
   102      currentAverageUtilization: 2
   103      currentAverageValue: "0"
   104      name: nameValue
   105    external:
   106      currentAverageValue: "0"
   107      currentValue: "0"
   108      metricName: metricNameValue
   109      metricSelector:
   110        matchExpressions:
   111        - key: keyValue
   112          operator: operatorValue
   113          values:
   114          - valuesValue
   115        matchLabels:
   116          matchLabelsKey: matchLabelsValue
   117    object:
   118      averageValue: "0"
   119      currentValue: "0"
   120      metricName: metricNameValue
   121      selector:
   122        matchExpressions:
   123        - key: keyValue
   124          operator: operatorValue
   125          values:
   126          - valuesValue
   127        matchLabels:
   128          matchLabelsKey: matchLabelsValue
   129      target:
   130        apiVersion: apiVersionValue
   131        kind: kindValue
   132        name: nameValue
   133    pods:
   134      currentAverageValue: "0"
   135      metricName: metricNameValue
   136      selector:
   137        matchExpressions:
   138        - key: keyValue
   139          operator: operatorValue
   140          values:
   141          - valuesValue
   142        matchLabels:
   143          matchLabelsKey: matchLabelsValue
   144    resource:
   145      currentAverageUtilization: 2
   146      currentAverageValue: "0"
   147      name: nameValue
   148    type: typeValue
   149  currentReplicas: 3
   150  desiredReplicas: 4
   151  lastScaleTime: "2002-01-01T01:01:01Z"
   152  observedGeneration: 1

View as plain text