test pv pvc
This commit is contained in:
parent
b60dfef5e5
commit
c1cd9550fc
@ -3,7 +3,7 @@ apiVersion: v2
|
||||
description: Helm chart for ttrss
|
||||
name: ttrss
|
||||
type: application
|
||||
version: 0.0.11
|
||||
version: 0.0.12
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- ttrss
|
||||
|
||||
@ -1,4 +1,28 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: pvc-rss-data
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1000Mi
|
||||
hostPath:
|
||||
path: /data/volume-rss-data
|
||||
type: DirectoryOrCreate
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: local-path
|
||||
volumeMode: Filesystem
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- opti
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: rss-data
|
||||
@ -10,4 +34,4 @@ spec:
|
||||
requests:
|
||||
storage: 1000Mi
|
||||
storageClassName: local-path
|
||||
volumeName: pvc-rss-data
|
||||
volumeName: pvc-rss-data
|
||||
Loading…
x
Reference in New Issue
Block a user