apiVersion: v1
kind: PersistentVolume
metadata:
  name: static-fe-pv
  namespace: frontend-static
spec:
  capacity:
    storage: 5Gi
  volumeMode: Filesystem
  accessModes:
  - ReadWriteMany
  persistentVolumeReclaimPolicy: Retain
  storageClassName: manual
  hostPath:
    path: "/mnt/data"
  nodeAffinity:
    required:
      nodeSelectorTerms:
      - matchExpressions:
        - key: nodepool
          operator: In
          values:
          - nodepool-1656f60f-fa9f-488b-8363-d73904a4f1ec
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: static-fe-pvc
  namespace: frontend-static
spec:
  storageClassName: manual
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 5Gi