gke-backup-dr

Automate GKE cluster backup and restore plan configuration and execution.

Updated Jul 4, 2026
One-click install
npx skills add https://github.com/ssmleo/govfolio --skill gke-backup-dr-ssmleo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gke-backup-dr
Source: https://github.com/ssmleo/govfolio/tree/main/.agents/skills/gke-backup-dr
Command: npx skills add https://github.com/ssmleo/govfolio --skill gke-backup-dr-ssmleo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gcloud, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for secure and efficient backup and restore workflows for GKE workloads, ensuring data protection and disaster recovery capabilities.

Core Features & Use Cases

  • Backup Policies: Configure backup plans for GKE clusters with specified retention and scheduling.
  • Disaster Recovery: Facilitate disaster recovery by creating restore plans for affected clusters.
  • Cluster Restore: Execute restores to recover GKE clusters from backups.
  • Use Case: Ideal for organizations looking to implement robust backup and recovery strategies for their GKE environments.

Quick Start

Set up a backup plan for your GKE cluster using the gke-backup-dr skill with the following command: gcloud container backup-restore backup-plans create <PLAN_NAME> --cluster=<CLUSTER_NAME> --location=<REGION> --retention-days=<DAYS> --cron-schedule="<CRON>" --all-namespaces

Frequently Asked Questions about gke-backup-dr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GKE backup and restore plans using gcloud?

You can automate GKE backup and restore plans by executing gcloud container backup-restore commands to define retention, scheduling, and cluster-level recovery workflows. This process handles cluster updates, backup creation, restore plan setup, and execution.

What is the best way to set up disaster recovery for Google Kubernetes Engine workloads?

Disaster recovery for Google Kubernetes Engine involves configuring automated restore plans that target affected clusters. You establish a backup policy with specific retention days and a cron schedule to ensure workloads can be recovered during a cluster failure.

Do I need the gcloud SDK to configure GKE cluster backups?

Yes, you need the gcloud SDK installed to configure GKE cluster backups. The automation relies on gcloud commands to interact with your Google Cloud clusters and execute the necessary backup and restore operations.

Can I schedule backups for all namespaces in my GKE cluster?

Yes, you can schedule backups for all namespaces in your GKE cluster by using the all-namespaces flag during backup plan creation. This ensures comprehensive workload protection across your entire cluster environment.

How do I restore a GKE cluster from a backup?

To restore a GKE cluster from a backup, you execute a predefined restore plan targeting the affected cluster. This disaster recovery action redeploys your protected workloads and configurations to the specified environment.