58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
apiVersion: v1
|
|||
|
|
kind: PersistentVolume
|
||
|
|
metadata:
|
||
|
|
finalizers:
|
||
|
|
- kubernetes.io/pv-protection
|
||
|
|
labels:
|
||
|
|
app: pi-coding-agent-sandbox
|
||
|
|
part-of: poimen-toolkit
|
||
|
|
name: pi-agent-workspace-pv
|
||
|
|
annotations:
|
||
|
|
argocd.argoproj.io/sync-wave: '-1'
|
||
|
|
spec:
|
||
|
|
accessModes:
|
||
|
|
- ReadWriteOnce
|
||
|
|
capacity:
|
||
|
|
storage: 10Gi
|
||
|
|
claimRef:
|
||
|
|
apiVersion: v1
|
||
|
|
kind: PersistentVolumeClaim
|
||
|
|
name: pi-agent-workspace
|
||
|
|
namespace: poimen-sandbox
|
||
|
|
hostPath:
|
||
|
|
path: /var/lib/pi-agent-sandbox
|
||
|
|
type: DirectoryOrCreate
|
||
|
|
nodeAffinity:
|
||
|
|
required:
|
||
|
|
nodeSelectorTerms:
|
||
|
|
- matchExpressions:
|
||
|
|
- key: kubernetes.io/hostname
|
||
|
|
operator: In
|
||
|
|
values:
|
||
|
|
- talos-cp-2
|
||
|
|
persistentVolumeReclaimPolicy: Retain
|
||
|
|
volumeMode: Filesystem
|
||
|
|
---
|
||
|
|
apiVersion: v1
|
||
|
|
kind: PersistentVolumeClaim
|
||
|
|
metadata:
|
||
|
|
annotations:
|
||
|
|
pv.kubernetes.io/bind-completed: 'yes'
|
||
|
|
argocd.argoproj.io/sync-wave: '-1'
|
||
|
|
finalizers:
|
||
|
|
- kubernetes.io/pvc-protection
|
||
|
|
labels:
|
||
|
|
app: pi-coding-agent-sandbox
|
||
|
|
part-of: poimen-toolkit
|
||
|
|
name: pi-agent-workspace
|
||
|
|
namespace: poimen-sandbox
|
||
|
|
spec:
|
||
|
|
accessModes:
|
||
|
|
- ReadWriteOnce
|
||
|
|
resources:
|
||
|
|
requests:
|
||
|
|
storage: 10Gi
|
||
|
|
storageClassName: ''
|
||
|
|
volumeMode: Filesystem
|
||
|
|
volumeName: pi-agent-workspace-pv
|