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