UNPKG

@jkcfg/kubernetes

Version:
32 lines 1.25 kB
{ "$schema": "http://json-schema.org/schema#", "required": [ "replicas" ], "type": "object", "description": "represents the current status of a scale subresource.", "properties": { "selector": { "additionalProperties": { "type": [ "string", "null" ] }, "type": "object", "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "targetSelector": { "type": [ "string", "null" ], "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: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "replicas": { "type": "integer", "description": "actual number of observed instances of the scaled object.", "format": "int32" } } }