change dir structure
This commit is contained in:
29
nexus/v1.0.0/templates/deployment/httpd-deployment.yaml
Normal file
29
nexus/v1.0.0/templates/deployment/httpd-deployment.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: httpd
|
||||
labels:
|
||||
app: httpd
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: httpd
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: PROXY_SERVICE
|
||||
value: nexus:8081,nexus:5000:v2
|
||||
- name: SERVER_NAME
|
||||
value: httpd:80
|
||||
image: registry.webhosting.rug.nl/molgenis/httpd:lts
|
||||
name: httpd
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
32
nexus/v1.0.0/templates/deployment/nexus-deployment.yaml
Normal file
32
nexus/v1.0.0/templates/deployment/nexus-deployment.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: nexus
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: httpd
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
containers:
|
||||
- image: sonatype/nexus3:latest
|
||||
name: nexus
|
||||
ports:
|
||||
- containerPort: 8081
|
||||
- containerPort: 5000
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /nexus-data
|
||||
name: molgenis-nexus-data
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: molgenis-nexus-data
|
||||
persistentVolumeClaim:
|
||||
claimName: molgenis-nexus-data
|
||||
status: {}
|
||||
|
||||
12
nexus/v1.0.0/templates/ingress.yaml
Normal file
12
nexus/v1.0.0/templates/ingress.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: ingress-nexus
|
||||
spec:
|
||||
rules:
|
||||
- host: registry.molgenis.org
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: httpd
|
||||
servicePort: 80
|
||||
14
nexus/v1.0.0/templates/services/httpd-service.yaml
Normal file
14
nexus/v1.0.0/templates/services/httpd-service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: httpd
|
||||
spec:
|
||||
ports:
|
||||
- name: "80"
|
||||
port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
app: nexus
|
||||
status:
|
||||
loadBalancer: {}
|
||||
17
nexus/v1.0.0/templates/services/nexus-service.yaml
Normal file
17
nexus/v1.0.0/templates/services/nexus-service.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: nexus
|
||||
labels:
|
||||
app: nexus
|
||||
spec:
|
||||
ports:
|
||||
- name: "8081"
|
||||
port: 8081
|
||||
targetPort: 8081
|
||||
- name: "5000"
|
||||
port: 5000
|
||||
targetPort: 5000
|
||||
selector:
|
||||
app: nexus
|
||||
16
nexus/v1.0.0/templates/volumes/nexus-pv.yaml
Normal file
16
nexus/v1.0.0/templates/volumes/nexus-pv.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: molgenis-nexus-data
|
||||
labels:
|
||||
name: nfs2
|
||||
spec:
|
||||
storageClassName: nfs-class
|
||||
capacity:
|
||||
storage: 5Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
nfs:
|
||||
server: 192.168.64.10
|
||||
path: /home/gcc/molgenis-nexus-data
|
||||
11
nexus/v1.0.0/templates/volumes/nexus-pvc.yaml
Normal file
11
nexus/v1.0.0/templates/volumes/nexus-pvc.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: molgenis-nexus-data
|
||||
spec:
|
||||
storageClassName: nfs-class
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
Reference in New Issue
Block a user