Placement
Placement CRD schema reference (group scheduling.kcp.io)
Version v1alpha1
Properties
.apiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
.kind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
.metadata
.spec
.spec.locationResource
locationResource is the group-version-resource of the instances that are subject to the locations to select.
.spec.locationResource.group
group is the name of an API group.
.spec.locationResource.resource
resource is the name of the resource.
.spec.locationResource.version
version is the version of the API.
.spec.locationSelectors
locationSelectors represents a slice of label selector to select a location, these label selectors are logically ORed.
.spec.locationSelectors[*]
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
.spec.locationSelectors[*].matchExpressions
matchExpressions is a list of label selector requirements. The requirements are ANDed.
.spec.locationSelectors[*].matchExpressions[*]
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
.spec.locationSelectors[*].matchExpressions[*].key
key is the label key that the selector applies to.
.spec.locationSelectors[*].matchExpressions[*].operator
operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
.spec.locationSelectors[*].matchExpressions[*].values
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
.spec.locationSelectors[*].matchExpressions[*].values[*]
.spec.locationSelectors[*].matchLabels
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
.spec.locationWorkspace
locationWorkspace is an absolute reference to a workspace for the location. If it is not set, the workspace of APIBinding will be used.
.spec.namespaceSelector
namespaceSelector is a label selector to select ns. It match all ns by default, but can be specified to a certain set of ns.
.spec.namespaceSelector.matchExpressions
matchExpressions is a list of label selector requirements. The requirements are ANDed.
.spec.namespaceSelector.matchExpressions[*]
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
.spec.namespaceSelector.matchExpressions[*].key
key is the label key that the selector applies to.
.spec.namespaceSelector.matchExpressions[*].operator
operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
.spec.namespaceSelector.matchExpressions[*].values
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
.spec.namespaceSelector.matchExpressions[*].values[*]
.spec.namespaceSelector.matchLabels
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
.status
.status.conditions
Current processing state of the Placement.
.status.conditions[*]
Condition defines an observation of a object operational state.
.status.conditions[*].lastTransitionTime
Last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
.status.conditions[*].message
A human readable message indicating details about the transition. This field may be empty.
.status.conditions[*].reason
The reason for the condition’s last transition in CamelCase. The specific API may choose whether or not this field is considered a guaranteed API. This field may not be empty.
.status.conditions[*].severity
Severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly. The Severity field MUST be set only when Status=False.
.status.conditions[*].status
Status of the condition, one of True, False, Unknown.
.status.conditions[*].type
Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important.
.status.phase
phase is the current phase of the placement
.status.selectedLocation
selectedLocation is the location that a picked by this placement.
.status.selectedLocation.locationName
Name of the Location.
.status.selectedLocation.path
path is an absolute reference to a workspace, e.g. root:org:ws. The workspace must be some ancestor or a child of some ancestor.