Skip to content
AnchrasDocumentation
Browse documentation

Clusters / User guide

Cluster fleets

Group clusters, distribute fleet configuration, and manage cross-cluster service exports and ingress.

On this page

Before you begin

Have at least one accessible cluster in the same organization; cross-cluster scenarios require multiple connected clusters and the relevant cluster-agent/network configuration.

Get started

  1. Create a named fleet and assign labels that describe its purpose.
  2. Add the intended clusters and verify membership.
  3. Apply the supported fleet configuration and observe reconciliation on every target cluster.
  4. Export services or configure ingress only after the participating clusters report ready.

Operate the service

Review each target cluster result rather than treating a fleet-level submission as proof of delivery. Service exports identify an exact source cluster, namespace, service, and port set. Remove exports and ingress dependencies before retiring a source cluster.

Availability and limits

Global ingress and public realization depend on enabled platform capabilities and private connectivity. Public ingress requires the deployment to enable public realization. A fleet does not automatically replicate application data across clusters.

Troubleshooting

For partial rollout, inspect the failing cluster agent and its applied version. For an unreachable export, verify the source Kubernetes Service, ports, private network, and DNS reconciliation.

Next steps

Use the CLI guide to automate repeatable work, or the API guide to integrate Anchras with your own tools.

CLI commands

Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.

CommandPurpose
fleets list / get / create / update / deleteManage fleet groups and labels via FleetService. A fleet lives in a project (list and create take --project) and groups only clusters of that project: fleets add-cluster refuses another project's cluster with failed_precondition. list --search matches a name or description substring.
fleets add-cluster / remove-cluster / clustersManage and inspect cluster membership for a fleet.
fleets services listList fleet service exports. Filters: --fleet, --source-cluster, --namespace, --service, --status, pagination.
fleets services exportRecord an MCS service export and enqueue Phase B fleet DNS + cluster-agent shim reconciliation. Requires <fleet-id> <source-cluster-id> <namespace> <service-name> and repeatable --port port=80[,target=8080,protocol=TCP,name=http].
fleets services unexportMark an active service export deleted by id or by <fleet-id> <source-cluster-id> <namespace> <service-name>.
fleets ingress listList MCS Phase D fleet ingress objects. Filter with --fleet; use -o json to inspect target and backend realization details.
fleets ingress createCreate a fleet-scoped global ingress. Requires <fleet-id> <name> and repeatable --target namespace/service[:port]; optional --hostname, --public, and --public-hostname. Public realization requires ANCHRAS_FLEET_INGRESS_PUBLIC_REALIZATION=true.
fleets ingress deleteDelete a fleet ingress by id.

API reference

Browse procedures, request and response types, and download the complete OpenAPI contract.