Switched all to deployments
This commit is contained in:
@ -28,6 +28,12 @@ spec:
|
||||
- mountPath: /data/linx-server.conf
|
||||
subPath: linx-server.conf
|
||||
name: linx-conf
|
||||
- mountPath: /go/src/github.com/andreimarcu/linx-server/static/css/linx.css
|
||||
subPath: linx.css
|
||||
name: linx-css
|
||||
- mountPath: /go/src/github.com/andreimarcu/linx-server/static/css/github-markdown.css
|
||||
subPath: github-markdown.css
|
||||
name: linx-css
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: linx-files
|
||||
@ -39,4 +45,8 @@ spec:
|
||||
- name: linx-conf
|
||||
persistentVolumeClaim:
|
||||
claimName: linx-conf
|
||||
- name: linx-css
|
||||
persistentVolumeClaim:
|
||||
claimName: linx-css
|
||||
|
||||
|
||||
|
@ -44,3 +44,19 @@ spec:
|
||||
path: "/swarmdata/linx/conf"
|
||||
mountOptions:
|
||||
- nfsvers=4.2
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: linx-css
|
||||
spec:
|
||||
capacity:
|
||||
storage: 2Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
nfs:
|
||||
server: nas.sq.lan
|
||||
path: "/swarmdata/linx/css"
|
||||
mountOptions:
|
||||
- nfsvers=4.2
|
||||
|
@ -24,6 +24,7 @@ spec:
|
||||
requests:
|
||||
storage: 20Gi
|
||||
volumeName: linx-meta
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
@ -37,3 +38,17 @@ spec:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
volumeName: linx-conf
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: linx-css
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: ""
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
volumeName: linx-css
|
||||
|
Reference in New Issue
Block a user