anthos-gke is a command-line binary used in the GKE on AWS installation and management workflow. It uses Terraform to generate declarative infrastructure definitions for AWS resources, including load balancers and EC2-based cluster nodes. section 5.2.2
A typical GKE on AWS workflow includes:
- Obtain an AWS Key Management Service key before initializing the management service. section 5.2.2
- Initialize and apply the management service with anthos-gke aws management init and anthos-gke aws management apply. section 5.2.2
- Connect through the generated bastion-tunnel.sh script when performing operations through the management service. section 5.2.2
- Define user-cluster infrastructure with AWSCluster and AWSNodePool resources, including regions, versions, and node-count limits. section 5.2.2
- Use node pools to provide different machine sizes within a cluster and scale between configured minimum and maximum counts. section 5.2.2
Management and cluster configuration
A management service can be applied with anthos-gke aws management init followed by anthos-gke aws management apply. An AWSCluster manifest can specify region: us-east-1 and a target GKE version, while an AWSNodePool manifest sets minNodeCount: 3 and maxNodeCount: 10. section 5.2.2
Use the architecture diagram to relate the management service, AWS infrastructure, load balancer, EC2 instances, and user clusters. section 5.2.2
