Files
website/docs/api-reference/v1.5/documents/_generated_scale_v1beta1_concept.md
T
2017-01-13 09:56:34 -08:00

1.9 KiB


Scale v1beta1

Group Version Kind
Core v1beta1 Scale

represents a scaling request for a resource.

Field Description
metadata
ObjectMeta
Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.
spec
ScaleSpec
defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.
status
ScaleStatus
current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.

ScaleSpec v1beta1

Field Description
replicas
integer
desired number of instances for the scaled object.

ScaleStatus v1beta1

Field Description
replicas
integer
actual number of observed instances of the scaled object.
selector
object
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
targetSelector
string
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