added namespace, pvc and service.yaml
TO-DO: deployment.yaml and dockerfile adaptations
This commit is contained in:
7
manifests/namespace.yaml
Normal file
7
manifests/namespace.yaml
Normal 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
12
manifests/pvc.yaml
Normal 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
12
manifests/service.yaml
Normal 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
|
||||
Reference in New Issue
Block a user