Skip to content

Commit fca1e24

Browse files
author
Bala Siva Sai Akhil Malepati
committed
Add local Persistent Volume for SPIRE server for kubeadm
Signed-off-by: Bala Siva Sai Akhil Malepati <saiakhil2012>
1 parent 2e74f3c commit fca1e24

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: v1
2+
kind: PersistentVolume
3+
metadata:
4+
name: local-storage-pv
5+
spec:
6+
capacity:
7+
storage: 1Gi
8+
accessModes:
9+
- ReadWriteOnce
10+
local:
11+
path: /mnt/disks/ssd1
12+
nodeAffinity:
13+
required:
14+
nodeSelectorTerms:
15+
- matchExpressions:
16+
- key: kubernetes.io/hostname
17+
operator: In
18+
values:
19+
- kubeadm-worker-1
20+

0 commit comments

Comments
 (0)