seperated manifests
This commit is contained in:
@@ -18,7 +18,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: clawdbox
|
||||
image: image-registry.openshift-image-registry.svc:5000/park/clawdbox:latest
|
||||
image: image-registry.openshift-image-registry.svc:5000/clawdbox/clawdbox:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 2222
|
||||
@@ -75,3 +75,4 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: clawdbox-home
|
||||
name: clawdbox-pvc
|
||||
namespace: clawdbox
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 4Gi
|
||||
# storageClassName: <set if you want to pin it>
|
||||
storage: 10Gi
|
||||
|
||||
@@ -3,10 +3,12 @@ kind: Service
|
||||
metadata:
|
||||
name: clawdbox
|
||||
namespace: clawdbox
|
||||
labels:
|
||||
app: clawdbox
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: clawdbox
|
||||
ports:
|
||||
- name: ssh
|
||||
port: 22
|
||||
targetPort: 22
|
||||
- port: 2222
|
||||
targetPort: 2222
|
||||
name: ssh
|
||||
selector:
|
||||
app: clawdbox
|
||||
|
||||
Reference in New Issue
Block a user