搜索

第 9 章 与 Google Cloud Storage 集成

download PDF

您可以与 Google Cloud Storage (GCS) 集成来启用数据备份。在出现基础架构灾难或出现被损坏的数据时,您可以使用这些备份进行数据恢复。与 GCS 集成后,您可以调度每天或每周备份,并进行按需备份。

备份包括 Red Hat Advanced Cluster Security for Kubernetes 整个数据库,其中包括所有配置、资源、事件和证书。确保备份安全存储。

注意

如果您使用 Red Hat Advanced Cluster Security for Kubernetes 版本 3.0.53 或更早版本,则备份不包括证书。

9.1. 为 Kubernetes 配置 Red Hat Advanced Cluster Security

要在 Google Cloud Storage (GCS)上配置数据备份,请在 Red Hat Advanced Cluster Security for Kubernetes 中创建集成。

前提条件

流程

  1. 在 RHACS 门户中,进入 Platform Configuration Integrations
  2. 向下滚动到 External backups 部分,然后选择 Google Cloud Storage
  3. New Integration (添加 图标)。
  4. 输入 Integration Name 的名称。
  5. Backups To Retain 框中输入要保留的备份数量。
  6. 对于 Schedule,请选择备份频率(每天或每周)以及运行备份过程的时间。
  7. 输入您要存储备份的 Bucket 名称。
  8. 在使用工作负载身份时,请检查 Use workload identity。否则,在 Service account key (JSON) 字段中输入您的服务帐户密钥文件的内容。
  9. 选择 Testcheckmark 图标)以确认与 GCS 的集成是否正常工作。
  10. 选择 Create (save icon)来创建配置。

配置后,Red Hat Advanced Cluster Security for Kubernetes 根据指定的调度自动备份所有数据。

9.1.1. 在 Google Cloud Storage 上执行按需备份

使用 RHACS 门户在 Google Cloud Storage 上触发 Red Hat Advanced Cluster Security for Kubernetes 的手动备份。

前提条件

  • 您必须已经将 Red Hat Advanced Cluster Security for Kubernetes 与 Google Cloud Storage 集成。

流程

  1. 在 RHACS 门户中,进入 Platform Configuration Integrations
  2. External backups 部分下,点 Google Cloud Storage
  3. 选择您要进行备份的 GCS 存储桶的集成名称。
  4. Trigger Backup
注意

目前,当选择 Trigger Backup 选项时,没有通知。但是,Red Hat Advanced Cluster Security for Kubernetes 会在后台开始备份任务。

9.1.1.1. 其他资源

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.