Velero Restic Restore卡在“进行中”状态

Velero Restic Restore stuck in "In Progress" state

提问人:pds 提问时间:7/25/2023 最后编辑:OneCricketeerpds 更新时间:7/26/2023 访问量:192

问:

我正在使用 velero restic 来备份和恢复部署在 GKE 集群中的 kafka。

我在 Kafka 命名空间中部署了 kafka,我正在尝试进行整个命名空间备份。

备份已完成。当我在另一个集群(在deffreent区域)中恢复时,restic恢复卡在进行中。

我使用以下命令安装了velero

velero install --use-restic --default-volumes-to-restic --use-volume-snapshots=false --provider gcp --plugins velero/velero-plugin-for-gcp:v1.4.0 --bucket kafka-backup-bucket --secret-file ./credentials-velero

要进行备份,请执行以下操作:

velero backup create kafka-1 --include-namespaces kafka

并恢复:

velero restore create kafka-restore-1 --from-backup kafka-1

现在在此之后,当我运行restore describe commad时,我得到了这个

Name:         kafka-restore-1
Namespace:    velero
Labels:       <none>
Annotations:  <none>

Phase:                                 InProgress
Estimated total items to be restored:  114
Items restored so far:                 114

Started:    2023-07-25 15:14:04 +0000 UTC
Completed:  <n/a>

Backup:  kafka-1

Namespaces:
  Included:  all namespaces found in the backup
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        nodes, events, events.events.k8s.io, backups.velero.io, restores.velero.io, resticrepositories.velero.io
  Cluster-scoped:  auto

Namespace mappings:  <none>

Label selector:  <none>

Restore PVs:  auto

Restic Restores:
  Completed:
    kafka/kafka-0: data, logs
    kafka/kafka-1: data, logs
    kafka/kafka-2: data, logs
  In Progress:
    kafka/kafka-zookeeper-0: data (100.00%)
    kafka/kafka-zookeeper-1: data (100.00%)
    kafka/kafka-zookeeper-2: data (100.00%)

Existing Resource Policy:   <none>

Preserve Service NodePorts:  auto

它已经快半天了,它仍然处于 InProgess 状态

Kubernetes apache-kafka 备份 velero

评论


答: 暂无答案