Cheatsheet 4 - Volumes
Volume/Mount Beschreibung (Beispiel)
apiVersion: v1
kind: Pod
metadata:
name: mypod
spec:
volumes:
- name: myvolume
hostPath:
path: /path/on/host
type: DirectoryOrCreate
containers:
- name: mycontainer
image: myimage:latest
volumeMounts:
- name: myvolume
mountPath: /data