Stay organized with collections Save and categorize content based on your preferences.
Autopilot Standard
This page describes how to enable Backup for GKE.
Before you beginBefore you start, make sure that you have performed the following tasks:
gcloud components update
. Note: For existing gcloud CLI installations, make sure to set the compute/region
property. If you use primarily zonal clusters, set the compute/zone
instead. By setting a default location, you can avoid errors in the gcloud CLI like the following: One of [--zone, --region] must be supplied: Please specify location
. You might need to specify the location in certain commands if the location of your cluster differs from the default that you set.The Backup for GKE service is automatically enabled in any project where the GKE API is enabled. This lets you to improve the data protection posture of your GKE clusters by making use of the Backup for GKE service.
Enabling the Backup for GKE API alone doesn't modify any existing GKE cluster configurations or affect the running workloads. Also, it doesn't automatically create backups or incur additional costs. Costs are only incurred when you create and store backups using the Backup for GKE service.
If you manually disabled the Backup for GKE service, you can enable the Backup for GKE service by using the Google Cloud CLI, Google Cloud console, or Terraform.
gcloudTo enable the Backup for GKE service, run the following command:
gcloud services enable gkebackup.googleapis.com
Console
In the Google Cloud console, enable the Backup for GKE API:
TerraformCreate an appropriate "google_project_service"
resource to enable the gkebackup.googleapis.com
service:
resource "google_project_service" "my_service" {
project = "my_project"
service = "gkebackup.googleapis.com"
}
For more information, see google_project_service.
What's nextExcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4