Pre-Populated Docker Cache #2253
Replies: 2 comments 7 replies
-
Hi @harshaisgud, thanks for this process. I'm trying to reproduce your setup but the PVC created from the volumeClaimTemplates doesn't contain anything while a manually created PVC using the the snapshot as a datasource works fine. I guess something is wrong with the EBS CSI controller somewhere. |
Beta Was this translation helpful? Give feedback.
-
I'm trying a slightly different approach where I'm hoping to use the existing runners to create the snapshot like so in a github workflow:
With the snapshot id from that workflow run, I can populate the following resources:
That all seems to work; however, there must be some sort of issue with the snapshot itself: In my workflows that use docker (for service containers for example), they're currently throwing this error: I'll update this comment if I find the resolution edit: issues resolved (see comment) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The process to setup a docker cache described in the repository does not satisfy my orgs requirement.
I have also followed the discussions extensively and found a few interesting approaches like #1286 (comment)
Requirements for docker cache
Listed Steps have been performed on EKS(1.23) but they should work with any Kubernetes flavour implementing the CSI spec such as GKE.
Pre-requisites
Please refer the following documentation for
Once the pre-requisites have been satisfied run the following steps.
RetentionPolicy
set to Delete.VolumeClaimTemplate
section such that volumes are populated from a snapshot.I am sure this can be made much more elegant and I am open to suggestions 😄
Beta Was this translation helpful? Give feedback.
All reactions