Skip to content

[FR]: Add support for GKE Backup Restore Plans in CFF GKE modules #4076

Description

@tu414

The feature request

Enhancement Request
Currently, CFF GKE modules support Backup for GKE backup plans, but there does not appear to be support for Backup for GKE restore plans. The Google Terraform provider supports the google_gke_backup_restore_plan resource, which can be used to define reusable restore configurations and disaster recovery workflows.

Proposed Enhancement
Add optional support for GKE Backup Restore Plans in CFF GKE modules.
This would enable users to manage both backup and restore configurations through CFF and provide a more complete Backup for GKE disaster recovery solution. The Terraform provider already supports restore plan resources, making this a natural extension of the existing backup plan functionality.

Suggested Restore Plan Options
It would be beneficial to support the following common restore scenarios:

Whole Cluster Restore
Namespace Restore
Data-Only Restore

Benefits
Completes Backup for GKE lifecycle management by supporting both backup and restore operations.
Reduces the need for custom Terraform resources outside of CFF.
Simplifies disaster recovery implementation for GKE workloads.
Provides standardized restore capabilities across environments.

References
Terraform Provider Resource: google_gke_backup_restore_plan https://docs.cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/how-to/restore-plan
Google Cloud Documentation – Backup for GKE Restore Plan https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/gke_backup_restore_plan

Proposed solution

Proposed Enhancement
Add optional support for GKE Backup Restore Plans in CFF GKE modules.
This would enable users to manage both backup and restore configurations through CFF and provide a more complete Backup for GKE disaster recovery solution. The Terraform provider already supports restore plan resources, making this a natural extension of the existing backup plan functionality.

Suggested Restore Plan Options
It would be beneficial to support the following common restore scenarios:

Whole Cluster Restore
Namespace Restore
Data-Only Restore

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions