liveBook · Manning

Attached cluster

As explained in Google Anthos in Action

An attached cluster is a remotely managed conformant Kubernetes cluster registered to Anthos.

An attached cluster is a remotely managed, conformant Kubernetes cluster registered to Anthos. The underlying provider—such as AWS EKS or Azure AKS—continues provisioning and scaling it, while Anthos provides registration, visibility, and management through Google Cloud. section 5.3 section 10.2

Registering an external cluster requires:

  • Access to the target cluster and its kubeconfig file, including the relevant context. section 2.7
  • A Google service account with the GKE Connect Agent role and a saved service-account key. section 2.7 section 5.3
  • A membership name and a registration command that deploys the Connect Agent to the external cluster. section 2.7 section 5.3
  • Kubernetes authentication with suitable RBAC, including view and cloud-console-reader permissions when console access is required. section 2.7

Register an external cluster

Run gcloud container fleet memberships register with a membership name, kubeconfig context, kubeconfig path, and service-account key path. After the Connect Agent is deployed, the cluster appears in the Google Cloud console; authenticate before performing further operations. section 2.7

How Google Anthos in Action covers it

How deep it goes
Explains registration credentials, Connect Agent deployment, console authentication, and RBAC, but does not detail cluster provisioning.
Examples
Uses EKS and AKS clusters, gcloud registration, kubeconfig templates, service accounts, and console registration views.
What it assumes
Assumes an existing conformant cluster, accessible kubeconfig, Google service account, service-account key, and Kubernetes RBAC capability.
What you can do after
Operate/configure an external Kubernetes cluster in Anthos after registering it and supplying valid Google and Kubernetes credentials.
How it connects
Connects Anthos with Kubernetes, EKS, AKS, GKE, kubeconfig, Connect Agent, service accounts, and Kubernetes RBAC.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Google Anthos in Action. The section links point to the parts of the book it draws on.