Skip to content

Instantly share code, notes, and snippets.

@collabnix
Created December 15, 2017 10:47
Show Gist options
  • Save collabnix/74039313c57776244de00679cd677154 to your computer and use it in GitHub Desktop.
Save collabnix/74039313c57776244de00679cd677154 to your computer and use it in GitHub Desktop.
A First Look at Kubernetes Integrated Docker For Mac Platform
apiVersion: v1
kind: PersistentVolume
metadata:
name: local-pv-1
labels:
type: local
spec:
capacity:
storage: 20Gi
accessModes:
- ReadWriteOnce
hostPath:
path: /tmp/data/pv-1
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: local-pv-2
labels:
type: local
spec:
capacity:
storage: 20Gi
accessModes:
- ReadWriteOnce
hostPath:
path: /tmp/data/pv-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment