placement.proto

Package: core.fed.solo.io

Types:

Source File: github.com/solo-io/solo-apis/api/gloo-fed/fed/core/v1/placement.proto

TemplateMetadata

Object Metadata to be written with the resource into the remote cluster

"annotations": map<string, string>
"labels": map<string, string>
"name": string

Field Type Description
annotations map<string, string>
labels map<string, string>
name string

PlacementStatus

"clusters": map<string, .core.fed.solo.io.PlacementStatus.Cluster>
"state": .core.fed.solo.io.PlacementStatus.State
"message": string
"observedGeneration": int
"writtenBy": string

Field Type Description
clusters map<string, .core.fed.solo.io.PlacementStatus.Cluster> map containing the name of the cluster, with the associated Cluster namespaces.
state .core.fed.solo.io.PlacementStatus.State
message string
observedGeneration int metadata.Generation of the resource which has been processed.
writtenBy string A field indicating the entity responsible for writing this status. This is useful for determining if the pod has been restarted since the resource was processed. Typically this value will be set to metadata.name of the pod.

Namespace

"state": .core.fed.solo.io.PlacementStatus.State
"message": string

Field Type Description
state .core.fed.solo.io.PlacementStatus.State
message string

Cluster

"namespaces": map<string, .core.fed.solo.io.PlacementStatus.Namespace>

Field Type Description
namespaces map<string, .core.fed.solo.io.PlacementStatus.Namespace> map containing the name of the namespace, with the associated status.

State

Name Description
UNKNOWN UNKNOWN indicates that the system does not know the placement status of the resource.
PLACED PLACED indicates that the resource has been placed as specified.
FAILED FAILED indicates that the resource could not be placed in a specified destination.
STALE STALE indicates that the resource continues to be present in a destination that is no longer specified.
INVALID INVALID indicates that the resource cannot be placed as specified because one or more destinations do not exist.
PENDING PENDING indicates that the resource is waiting to be processed.