Skip to content

Commit

Permalink
Add local Persistent Volume for SPIRE server for kubeadm
Browse files Browse the repository at this point in the history
Signed-off-by: Bala Siva Sai Akhil Malepati <saiakhil2012@yahoo.com>
  • Loading branch information
saiakhil2012 committed Sep 4, 2024
1 parent a44e7d8 commit b8bebe4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions k8s/quickstart/server-local-persistentvolume.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: local-storage-pv
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
local:
path: /mnt/disks/ssd1
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- kubeadm-worker-1

0 comments on commit b8bebe4

Please sign in to comment.