파드 프리셋은 쿠버네티스 알파 단계의 기능으로 파드를 생성할 때 특정 정보를 파드에 주입할 수 있게 해준다
apiVersion: settings.k8s.io/v1alpha1
kind: PodPreset
metadata:
name: add-cache
spec:
selector:
matchLabels:
role: frontend
volumeMounts:
- mountPath: /cache
name: cache-volume
volumes:
- name: cache-volume
emptyDir: {}