- Add longhorn-rwx StorageClass for RWX volume support - Add slackpath-5-full-lifecycle.yaml cookbook tree (all 10 SDLC phases) - Update worker-pool.md documentation - Consolidate PVC configuration, remove separate pvc-shared-claude.yaml - Update rdev-worker and kustomization for new PVC structure Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
764 B
YAML
25 lines
764 B
YAML
# RWX (ReadWriteMany) StorageClass for shared volumes
|
|
# Enables multiple pods to mount the same PVC simultaneously
|
|
# Used for: claudebox-claude-config (shared Claude auth credentials)
|
|
#
|
|
# Prerequisites:
|
|
# - Longhorn 1.4.0+ with NFS support
|
|
# - Verify: kubectl get settings -n longhorn-system | grep -i rwx
|
|
#
|
|
# If RWX is not available, enable it:
|
|
# kubectl patch -n longhorn-system settings rwx-volume-fast-failover --type merge -p '{"value":"true"}'
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: longhorn-rwx
|
|
labels:
|
|
app.kubernetes.io/part-of: rdev
|
|
provisioner: driver.longhorn.io
|
|
allowVolumeExpansion: true
|
|
reclaimPolicy: Retain
|
|
parameters:
|
|
numberOfReplicas: "2"
|
|
staleReplicaTimeout: "30"
|
|
nfsOptions: "vers=4.1,noresvport"
|