anthos-config-management-samples
anthos-config-management-samples copied to clipboard
Code samples for Anthos Config Management
Anthos Config Management Samples
This repository contains sample applications used in Anthos Config Management (ACM) tutorials.
See the following resources to learn more:
List of samples
Quickstart
A single-cluster example showing how to sync configurations from git using Config Sync. This includes examples for both multi-repo mode and the legacy mode.
Foo-Corp
A single cluster example showing several features of Anthos Config Management working together.
Hello, Namespace!
A simple example to generalize how to define and enforce configuration.
Using Hierarchical Repos with Config Sync
Demonstrates how to set up a hierarchical repository for Config Sync.
Locality-Specific Policy
Configure policy to apply only to resources in specific regions.
Namespace Inheritance
Shows how to use namespace inheritance with a Config Sync hierarchical repo.
Rendering Configs with Kustomize
Demonstrates how to use Kustomize and Cloud Build to prepare configs for deployment with Config Sync.
CI Pipeline
Create a CloudBuild CI pipeline on a structured config directory.
Unstructured CI Pipeline
Create a CloudBuild CI pipeline on an unstructured directory.
Application Pipeline
Validate your application against company policies.
Deploying a Helm Chart with ConfigSync
Demonstrates how to use Config Sync to sync a rendered Helm Chart.
Multi-Cluster Anthos Config Management Setup
Deploy multiple GKE clusters and install Anthos Config Management on them.
Multi-Cluster Fan-out
Manage identical Namespaces, RoleBindings, and ResourceQuotas across multiple GKE clusters using Anthos Config Management and GitOps.
Multi-Cluster Access and Quota
Manage cluster-specific and namespace-specific Namespaces, RoleBindings, and ResourceQuotas across multiple clusters using Anthos Config Management, GitOps, and Kustomize.
Multi-Cluster Ingress
Manage an application with Multi-Cluster Ingress using Anthos Config Management, GitOps, and Kustomize.
Multi-cluster + Multiple Environments with Kustomize
Manage an application spanning multiple GCP projects, across dev and prod environments, with Config Sync, Kustomize, and Cloud Build.
Namespace-specific policy
Configure namespace specific policies such as Role, RoleBinding and NetworkPolicy.
Manage team resources with Config Sync
Use Config Sync and Terraform to dynamically create team-scoped resources across a fleet of clusters.
CRDs
ConfigManagement
The ConfigManagement CRD is used to install Anthos Config Management.
Contributing
- See CONTRIBUTING.md
Licensing
- See LICENSE