PVC From Snapshot

オープン
#3,966 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions, go, kubernetes

調査の方向性

この issue では Kubernetes PVC と ephemeral volumeClaimTemplate の例が示されていますが、repository のファイル、テスト、エントリーポイントは示されていません。まず runner CRD インターフェースを見つけ、snapshot-backed ephemeral PVCs をどのように表現すべきかを判断してください。要求されたインターフェースが各 runner 用に snapshot から PVC を作成できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

community enhancement needs triage
What would you like added?

I'd love to be able to create a PVC on demand from a snapshot for each runner that I build. We have a significant amount of data we cache in PVCs (100s of GB) and I'd love to be able to create PVC for each runner based on a snapshot with this data.

PVC can be created like so

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: pvc-from-snapshot
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 100Gi
    dataSource:
      name: dagger-2025-02-20
      kind: VolumeSnapshot
      apiGroup: snapshot.storage.k8s.io

so I'd hope for some CRD interface like
Note: Feature requests to integrate vendor specific cloud tools (e.g. awscli, gcloud-sdk, azure-cli) will likely be rejected as the Runner image aims to be vendor agnostic.

      volumes:
      - ephemeral:
          volumeClaimTemplate:
            spec:
              accessModes:
              - ReadWriteOnce
              resources:
                requests:
                  storage: 100Gi
                dataSource:
                  name: dagger-2025-02-20
                  kind: VolumeSnapshot
                  apiGroup: snapshot.storage.k8s.io
Why is this needed?

Moving 100s of GB on every build is cumbersome and takes lots of time. just restoring from a snapshot would be great.

主要言語
Go
スター
6.7k
フォーク
1.5k
平均マージ
1時間 34分
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

actions/actions-runner-controller のほかの issue

actions/actions-runner-controller の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。