API Reference
cluster.kubernetes-fleet.io/v1
Resource Types
AgentStatus
AgentStatus defines the observed status of the member agent of the given type.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| typeAgentType | Type of the member agent. | ||
| conditionsCondition array | Conditions is an array of current observed conditions for the member agent. | ||
| lastReceivedHeartbeatTime | Last time we received a heartbeat from the member agent. | 
AgentType
Underlying type: string
AgentType defines a type of agent/binary running in a member cluster.
Appears in:
| Field | Description | 
|---|---|
| MemberAgent | MemberAgent (core) handles member cluster joining/leaving as well as k8s object placement from hub to member clusters. | 
| MultiClusterServiceAgent | MultiClusterServiceAgent (networking) is responsible for exposing multi-cluster services via L4 load balancer. | 
| ServiceExportImportAgent | ServiceExportImportAgent (networking) is responsible for export or import services across multi-clusters. | 
ClusterState
Underlying type: string
Appears in:
| Field | Description | 
|---|---|
| Join | |
| Leave | 
InternalMemberCluster
InternalMemberCluster is used by hub agent to notify the member agents about the member cluster state changes, and is used by the member agents to report their status.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| apiVersionstring | cluster.kubernetes-fleet.io/v1 | ||
| kindstring | InternalMemberCluster | ||
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| specInternalMemberClusterSpec | The desired state of InternalMemberCluster. | ||
| statusInternalMemberClusterStatus | The observed status of InternalMemberCluster. | 
InternalMemberClusterList
InternalMemberClusterList contains a list of InternalMemberCluster.
| Field | Description | Default | Validation | 
|---|---|---|---|
| apiVersionstring | cluster.kubernetes-fleet.io/v1 | ||
| kindstring | InternalMemberClusterList | ||
| metadataListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| itemsInternalMemberCluster array | 
InternalMemberClusterSpec
InternalMemberClusterSpec defines the desired state of InternalMemberCluster. Set by the hub agent.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| stateClusterState | The desired state of the member cluster. Possible values: Join, Leave. | ||
| heartbeatPeriodSecondsinteger | How often (in seconds) for the member cluster to send a heartbeat to the hub cluster. Default: 60 seconds. Min: 1 second. Max: 10 minutes. | 60 | Maximum: 600 Minimum: 1 | 
InternalMemberClusterStatus
InternalMemberClusterStatus defines the observed state of InternalMemberCluster.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| conditionsCondition array | Conditions is an array of current observed conditions for the member cluster. | ||
| propertiesobject (keys:PropertyName, values:PropertyValue) | Properties is an array of properties observed for the member cluster. This field is beta-level; it is for the property-based scheduling feature and is only populated when a property provider is enabled in the deployment. | ||
| resourceUsageResourceUsage | The current observed resource usage of the member cluster. It is populated by the member agent. | ||
| agentStatusAgentStatus array | AgentStatus is an array of current observed status, each corresponding to one member agent running in the member cluster. | 
MemberCluster
MemberCluster is a resource created in the hub cluster to represent a member cluster within a fleet.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| apiVersionstring | cluster.kubernetes-fleet.io/v1 | ||
| kindstring | MemberCluster | ||
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| specMemberClusterSpec | The desired state of MemberCluster. | ||
| statusMemberClusterStatus | The observed status of MemberCluster. | 
MemberClusterList
MemberClusterList contains a list of MemberCluster.
| Field | Description | Default | Validation | 
|---|---|---|---|
| apiVersionstring | cluster.kubernetes-fleet.io/v1 | ||
| kindstring | MemberClusterList | ||
| metadataListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| itemsMemberCluster array | 
MemberClusterSpec
MemberClusterSpec defines the desired state of MemberCluster.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| identitySubject | The identity used by the member cluster to access the hub cluster. The hub agents deployed on the hub cluster will automatically grant the minimal required permissions to this identity for the member agents deployed on the member cluster to access the hub cluster. | ||
| heartbeatPeriodSecondsinteger | How often (in seconds) for the member cluster to send a heartbeat to the hub cluster. Default: 60 seconds. Min: 1 second. Max: 10 minutes. | 60 | Maximum: 600 Minimum: 1 | 
| taintsTaint array | If specified, the MemberCluster’s taints. This field is beta-level and is for the taints and tolerations feature. | MaxItems: 100 | 
MemberClusterStatus
MemberClusterStatus defines the observed status of MemberCluster.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| conditionsCondition array | Conditions is an array of current observed conditions for the member cluster. | ||
| propertiesobject (keys:PropertyName, values:PropertyValue) | Properties is an array of properties observed for the member cluster. This field is beta-level; it is for the property-based scheduling feature and is only populated when a property provider is enabled in the deployment. | ||
| resourceUsageResourceUsage | The current observed resource usage of the member cluster. It is copied from the corresponding InternalMemberCluster object. | ||
| agentStatusAgentStatus array | AgentStatus is an array of current observed status, each corresponding to one member agent running in the member cluster. | 
PropertyName
Underlying type: string
PropertyName is the name of a cluster property; it should be a Kubernetes label name.
Appears in:
PropertyValue
PropertyValue is the value of a cluster property.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| valuestring | Value is the value of the cluster property. Currently, it should be a valid Kubernetes quantity. For more information, see https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity. | ||
| observationTimeTime | ObservationTime is when the cluster property is observed. | 
ResourceUsage
ResourceUsage contains the observed resource usage of a member cluster.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| capacityResourceList | Capacity represents the total resource capacity of all the nodes on a member cluster. A node’s total capacity is the amount of resource installed on the node. | ||
| allocatableResourceList | Allocatable represents the total allocatable resources of all the nodes on a member cluster. A node’s allocatable capacity is the amount of resource that can actually be used for user workloads, i.e., allocatable capacity = total capacity - capacities reserved for the OS, kubelet, etc. For more information, see https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/. | ||
| availableResourceList | Available represents the total available resources of all the nodes on a member cluster. A node’s available capacity is the amount of resource that has not been used yet, i.e., available capacity = allocatable capacity - capacity that has been requested by workloads. This field is beta-level; it is for the property-based scheduling feature and is only populated when a property provider is enabled in the deployment. | ||
| observationTimeTime | When the resource usage is observed. | 
Taint
Taint attached to MemberCluster has the “effect” on any ClusterResourcePlacement that does not tolerate the Taint.
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| keystring | The taint key to be applied to a MemberCluster. | ||
| valuestring | The taint value corresponding to the taint key. | ||
| effectTaintEffect | The effect of the taint on ClusterResourcePlacements that do not tolerate the taint. Only NoSchedule is supported. | Enum: [NoSchedule] | 
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can further improve.
Sorry to hear that. Please tell us how we can fix the experience for you.