Skip to content

Instantly share code, notes, and snippets.

@MartinHeinz
Last active Oct 11, 2021
Embed
What would you like to do?
# This assumes that PersistentVolume gets created automatically
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: kaniko-cache
spec:
storageClassName: default # Or a storage class provided by Cloud provider
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment