Generate files and modifications for autoscaling/v2beta2 and custom_metrics/v1beta2
This commit is contained in:
1640
api/openapi-spec/swagger.json
generated
1640
api/openapi-spec/swagger.json
generated
File diff suppressed because it is too large
Load Diff
108
api/swagger-spec/autoscaling_v2beta1.json
generated
108
api/swagger-spec/autoscaling_v2beta1.json
generated
@@ -1600,6 +1600,56 @@
|
||||
"targetValue": {
|
||||
"type": "string",
|
||||
"description": "targetValue is the target value of the metric (as a quantity)."
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
"description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."
|
||||
},
|
||||
"averageValue": {
|
||||
"type": "string",
|
||||
"description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.LabelSelector": {
|
||||
"id": "v1.LabelSelector",
|
||||
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
|
||||
"properties": {
|
||||
"matchLabels": {
|
||||
"type": "object",
|
||||
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."
|
||||
},
|
||||
"matchExpressions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "v1.LabelSelectorRequirement"
|
||||
},
|
||||
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed."
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.LabelSelectorRequirement": {
|
||||
"id": "v1.LabelSelectorRequirement",
|
||||
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
|
||||
"required": [
|
||||
"key",
|
||||
"operator"
|
||||
],
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string",
|
||||
"description": "key is the label key that the selector applies to."
|
||||
},
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."
|
||||
},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1618,6 +1668,10 @@
|
||||
"targetAverageValue": {
|
||||
"type": "string",
|
||||
"description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)"
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
"description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1668,48 +1722,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.LabelSelector": {
|
||||
"id": "v1.LabelSelector",
|
||||
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
|
||||
"properties": {
|
||||
"matchLabels": {
|
||||
"type": "object",
|
||||
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."
|
||||
},
|
||||
"matchExpressions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "v1.LabelSelectorRequirement"
|
||||
},
|
||||
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed."
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1.LabelSelectorRequirement": {
|
||||
"id": "v1.LabelSelectorRequirement",
|
||||
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
|
||||
"required": [
|
||||
"key",
|
||||
"operator"
|
||||
],
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string",
|
||||
"description": "key is the label key that the selector applies to."
|
||||
},
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."
|
||||
},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."
|
||||
}
|
||||
}
|
||||
},
|
||||
"v2beta1.HorizontalPodAutoscalerStatus": {
|
||||
"id": "v2beta1.HorizontalPodAutoscalerStatus",
|
||||
"description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.",
|
||||
@@ -1804,6 +1816,14 @@
|
||||
"currentValue": {
|
||||
"type": "string",
|
||||
"description": "currentValue is the current value of the metric (as a quantity)."
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
"description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."
|
||||
},
|
||||
"averageValue": {
|
||||
"type": "string",
|
||||
"description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1822,6 +1842,10 @@
|
||||
"currentAverageValue": {
|
||||
"type": "string",
|
||||
"description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)"
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
"description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
2112
api/swagger-spec/autoscaling_v2beta2.json
generated
Normal file
2112
api/swagger-spec/autoscaling_v2beta2.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
4
api/swagger-spec/resourceListing.json
generated
4
api/swagger-spec/resourceListing.json
generated
@@ -53,6 +53,10 @@
|
||||
"path": "/apis/autoscaling/v2beta1",
|
||||
"description": "API at /apis/autoscaling/v2beta1"
|
||||
},
|
||||
{
|
||||
"path": "/apis/autoscaling/v2beta2",
|
||||
"description": "API at /apis/autoscaling/v2beta2"
|
||||
},
|
||||
{
|
||||
"path": "/apis/autoscaling",
|
||||
"description": "get information of a group"
|
||||
|
Reference in New Issue
Block a user