GKE Hub / Anthos Fleet
Definition
GKE Hub, part of Anthos Fleet, is a service that enables centralized management and governance of Kubernetes clusters across multiple environments, including on-premises and cloud. It provides a unified control plane for managing cluster configurations, policies, and security settings, ensuring consistency and compliance across diverse Kubernetes deployments. Anthos Fleet facilitates workload portability and operational consistency, enhancing security and efficiency in multi-cloud and hybrid cloud environments.
Secure Settings Example
apiVersion: configmanagement.gke.io/v1
kind: ConfigManagement
metadata:
name: config-management
spec:
policyController:
enabled: true
clusterSelector:
matchLabels:
environment: production
sync:
sourceFormat: unstructured
git:
syncRepo: https://github.com/example/repo
syncBranch: main
secretType: ssh
policyDir: "policies"
Insecure Settings Example
apiVersion: configmanagement.gke.io/v1
kind: ConfigManagement
metadata:
name: config-management
spec:
policyController:
enabled: false
sync:
sourceFormat: unstructured
git:
syncRepo: https://github.com/example/repo
syncBranch: main
secretType: none
policyDir: "policies"