UNPKG

@jkcfg/kubernetes

Version:
38 lines 1.33 kB
{ "description": "represents the current status of a scale subresource.", "required": [ "replicas" ], "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", "type": [ "integer", "null" ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", "type": [ "object", "null" ], "additionalProperties": { "type": [ "string", "null" ] } }, "targetSelector": { "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", "type": [ "string", "null" ] } }, "$schema": "http://json-schema.org/schema#", "type": "object" }