无法将GCS存储桶用于基于头盔/基于Kubernetes的服务器

问题描述 投票:0回答:1

使用官方/稳定的jenkins头盔release将图表安装在kubernetes上。

values.yaml文件的相应部分中将GCS存储桶用作目标位置>>

backup:
  enabled: true
  # Used for label app.kubernetes.io/component
  componentName: "jenkins-backup"
  schedule: "0 2 * * *"
  labels: {}
  annotations: {}
  image:
    repository: "maorfr/kube-tasks"
    tag: "0.2.0"
  extraArgs: []
  # Add existingSecret for AWS credentials
  existingSecret: {}
  env: []
  resources:
    requests:
      memory: 1Gi
      cpu: 1
    limits:
      memory: 1Gi
      cpu: 1
  # Destination to store the backup artifacts
  # Supported cloud storage services: AWS S3, Minio S3, Azure Blob Storage, Google Cloud Storage
  # Additional support can added. Visit this repository for details
  # Ref: https://github.com/maorfr/skbn
  destination: "gs://jenkins-backup-240392409"

但是,当备份作业开始时,我在其日志中得到以下内容:

gs not implemented

edit

:要解决@Maxim在下面的评论中提出的问题,窗格的描述指示引号不会出现在备份命令中]
Pod Template:
  Labels:           <none>
  Service Account:  my-service-account
  Containers:
   jenkins-backup:
    Image:      maorfr/kube-tasks:0.2.0
    Port:       <none>
    Host Port:  <none>
    Command:
      kube-tasks
    Args:
      simple-backup
      -n
      jenkins
      -l
      app.kubernetes.io/instance=my-jenkins
      --container
      jenkins
      --path
      /var/jenkins_home
      --dst
      gs://my-destination-backup-bucket-6266

使用官方/稳定的詹金斯头盔版本将图表安装在kubernetes上。在values.yaml文件备份的相应部分中将GCS存储桶用作目标:enabled:true#...

jenkins kubernetes google-cloud-storage kubernetes-helm
1个回答
0
投票

[不支持

© www.soinside.com 2019 - 2024. All rights reserved.