Create kafka_pv.yml

This commit is contained in:
uckingleaf 2019-04-03 23:38:16 +02:00 committed by GitHub
parent 144dab4794
commit e1f94a7999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
deploy/kafka_pv.yml Normal file
View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: datadir
labels:
kubeless: kafka
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 1Gi
hostPath:
path: "/root/paprika-k/"