Skip to content

Commit

Permalink
Adding new schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksoncage committed Aug 25, 2022
1 parent 1f6373e commit 1c34300
Show file tree
Hide file tree
Showing 3,982 changed files with 1,651,010 additions and 22,102 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
9,082 changes: 3,965 additions & 5,117 deletions master-local/_definitions.json

Large diffs are not rendered by default.

138 changes: 0 additions & 138 deletions master-local/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,78 +291,6 @@
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.ResourceMetricStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingRules"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricSpec"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricSource"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.batch.v1.CronJob"
},
Expand Down Expand Up @@ -1032,72 +960,6 @@
{
"$ref": "_definitions.json#/definitions/io.k8s.api.events.v1.EventSeries"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchemaCondition"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchemaList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchemaSpec"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchemaStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.GroupSubject"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.LimitResponse"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.PolicyRulesWithSubjects"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationCondition"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationReference"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.QueuingConfiguration"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.Subject"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta1.UserSubject"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowDistinguisherMethod"
},
Expand Down
2 changes: 1 addition & 1 deletion master-local/containerresourcemetricsource.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
]
},
"target": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.MetricTarget",
"description": "target specifies the target value for the given metric"
}
},
Expand Down
2 changes: 1 addition & 1 deletion master-local/containerresourcemetricstatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"current": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.MetricValueStatus",
"description": "current contains the current value for the given metric"
},
"name": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"kind": {
"description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"",
"description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": [
"string",
"null"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"kind": {
"description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"",
"description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": [
"string",
"null"
Expand Down
2 changes: 1 addition & 1 deletion master-local/crossversionobjectreference.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"kind": {
"description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"",
"description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": [
"string",
"null"
Expand Down
4 changes: 2 additions & 2 deletions master-local/externalmetricsource.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).",
"properties": {
"metric": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.MetricIdentifier",
"description": "metric identifies the target metric by name and selector"
},
"target": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.MetricTarget",
"description": "target specifies the target value for the given metric"
}
},
Expand Down
4 changes: 2 additions & 2 deletions master-local/externalmetricstatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.",
"properties": {
"current": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.MetricValueStatus",
"description": "current contains the current value for the given metric"
},
"metric": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.MetricIdentifier",
"description": "metric identifies the target metric by name and selector"
}
},
Expand Down
6 changes: 3 additions & 3 deletions master-local/horizontalpodautoscaler.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerSpec",
"description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."
},
"status": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerStatus",
"description": "status is the current information about the autoscaler."
}
},
Expand All @@ -36,7 +36,7 @@
{
"group": "autoscaling",
"kind": "HorizontalPodAutoscaler",
"version": "v2beta2"
"version": "v2"
}
],
"$schema": "http://json-schema.org/schema#"
Expand Down
4 changes: 2 additions & 2 deletions master-local/horizontalpodautoscalerbehavior.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).",
"properties": {
"scaleDown": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingRules",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.HPAScalingRules",
"description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)."
},
"scaleUp": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingRules",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.HPAScalingRules",
"description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used."
}
},
Expand Down
4 changes: 2 additions & 2 deletions master-local/horizontalpodautoscalerlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"items": {
"description": "items is the list of horizontal pod autoscaler objects.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler"
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler"
},
"type": [
"array",
Expand Down Expand Up @@ -41,7 +41,7 @@
{
"group": "autoscaling",
"kind": "HorizontalPodAutoscalerList",
"version": "v2beta2"
"version": "v2"
}
],
"$schema": "http://json-schema.org/schema#"
Expand Down
9 changes: 5 additions & 4 deletions master-local/horizontalpodautoscalerspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.",
"properties": {
"behavior": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerBehavior",
"description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used."
},
"maxReplicas": {
Expand All @@ -16,12 +16,13 @@
"metrics": {
"description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricSpec"
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.MetricSpec"
},
"type": [
"array",
"null"
]
],
"x-kubernetes-list-type": "atomic"
},
"minReplicas": {
"description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.",
Expand All @@ -32,7 +33,7 @@
]
},
"scaleTargetRef": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.CrossVersionObjectReference",
"description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."
}
},
Expand Down
16 changes: 11 additions & 5 deletions master-local/horizontalpodautoscalerstatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,29 @@
"conditions": {
"description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition"
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerCondition"
},
"type": [
"array",
"null"
]
],
"x-kubernetes-list-map-keys": [
"type"
],
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"currentMetrics": {
"description": "currentMetrics is the last read state of the metrics used by this autoscaler.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricStatus"
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.MetricStatus"
},
"type": [
"array",
"null"
]
],
"x-kubernetes-list-type": "atomic"
},
"currentReplicas": {
"description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.",
Expand Down Expand Up @@ -51,7 +58,6 @@
}
},
"required": [
"currentReplicas",
"desiredReplicas"
],
"type": "object",
Expand Down
7 changes: 4 additions & 3 deletions master-local/hpascalingrules.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
"policies": {
"description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy"
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2.HPAScalingPolicy"
},
"type": [
"array",
"null"
]
],
"x-kubernetes-list-type": "atomic"
},
"selectPolicy": {
"description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.",
"description": "selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.",
"type": [
"string",
"null"
Expand Down
Loading

0 comments on commit 1c34300

Please sign in to comment.