Config Sync overview (original) (raw)

This page provides an overview of Config Sync, the GitOps service included with Google Kubernetes Engine.

Adopting GitOps as a universal best practice helps organizations manage Kubernetes configuration at scale. By using a central source of truth like a Git repository, you can improve stability, consistency, and security.

Config Sync helps you implement GitOps by automating the synchronization of your configuration and policies across any number of clusters. Automatic syncing lets you manage fleets of clusters centrally, prevent configuration drift, and empower both platform and application teams.

This page is for Operators who want to implement GitOps tools to centralize configuration management for their teams. To learn more about common roles and example tasks that we reference in Google Cloud content, seeCommon GKE user roles and tasks.

Pricing

For information about pricing, see GKE pricing.

Why choose Config Sync for GitOps on GKE?

Although all GitOps tools provide benefits like improved stability and consistency, Config Sync provides a set of unique advantages:

How Config Sync works

Config Sync continuously monitors a central source of truth and automatically reconciles the state of your clusters to match it. You can use a Git repository, OCI image, or Helm chart as your source of truth.

The following diagram shows an overview of how a platform administrator can manage central policies while three application operators manage their own namespace configurations. The namespaces all have the same admin configuration, but each namespace has a different application configuration.

A central administrator controlling multiple configs and app operators controlling their own namespace configs.

Configuring clusters

Config Sync lets you create a common set of configuration and policies, such as Policy Controller constraints, and consistently apply them across registered and connected clusters from a single source of truth.

Instead of repeatedly running the kubectl apply command manually, you can orchestrate configuration changes across fleets of clusters.

Configuring namespaces

You can use Config Sync to provision and manage Kubernetes namespaces with namespace-scoped policies, such as RBAC roles. These policies can help you implement and manage multi-tenancy within your clusters, letting application teams to manage their own configurations safely.

What's next