Skip to main content

ElementStatus

Description

ElementStatus defines the observed state of Element.


Replicas field of tag replicas

The name of the actual, current replicas for this Element. Kubernetes does not encourage usage of unsigned integers or lower bit sizes due to inconsistencies in some programming languages, but we compensate this by defining the minimum and maximum values. It is the responsibility of the developers to ensure the allocated variable can hold all the range. Since the controller runtime libraries make copies of the object with field size elevation, if the field is defined as unsigned, it would be converted to uint64, which is not supported by Kubernetes API. To address this challenge, we use int16 to represent the uint8 value that is present in the spec.

Kind: int16
Tag: replicas
Data Type: integer
Default Values: 1
Maximum Values: 255
Minimum Values: 0
Optional: False


Readiness field of tag ready

The binary status of the for this Element.

Kind: bool
Tag: ready
Data Type: bool
Default Values: false
Optional: False


Conditions field of tag conditions

The list of associated conditions for this Element.

Kind: Array of k8s.io/apimachinery/pkg/apis/meta/v1.Condition
Tag: conditions
Data Type: Slice
Optional: True


Selector field of tag selector

Selector is the unique label selector for this Element's Pods.

Kind: string
Tag: selector
Data Type: string
Optional: False