added namespace, pvc and service.yaml

TO-DO: deployment.yaml and dockerfile adaptations
This commit is contained in:
2026-02-02 11:33:19 +11:00
parent a0134a6cfc
commit a1cd6d88cd
3 changed files with 31 additions and 0 deletions

7
manifests/namespace.yaml Normal file
View File

@@ -0,0 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: clawdbox
labels:
app.kubernetes.io/name: clawdbox
app.kubernetes.io/part-of: clawdbox

12
manifests/pvc.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: clawdbox-home
namespace: clawdbox
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 4Gi
# storageClassName: <set if you want to pin it>

12
manifests/service.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: clawdbox
namespace: clawdbox
spec:
selector:
app.kubernetes.io/name: clawdbox
ports:
- name: ssh
port: 22
targetPort: 22