ActiveTigger: add volume
This commit is contained in:
parent
c45d272cbb
commit
aa8420750f
|
@ -12,6 +12,18 @@ metadata:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
---
|
---
|
||||||
|
# Source: activetigger/templates/pvc.yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: activetigger-data
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 20Gi
|
||||||
|
---
|
||||||
# Source: activetigger/templates/service.yaml
|
# Source: activetigger/templates/service.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
@ -26,7 +38,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
- port: 8000
|
- port: 3838
|
||||||
targetPort: http
|
targetPort: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
|
@ -67,11 +79,11 @@ spec:
|
||||||
- name: activetigger
|
- name: activetigger
|
||||||
securityContext:
|
securityContext:
|
||||||
{}
|
{}
|
||||||
image: "code.groupe-genes.fr/datalab/activetigger:latest"
|
image: "alexisguy/activetiggeremilien:1"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8000
|
containerPort: 3838
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
@ -82,7 +94,17 @@ spec:
|
||||||
path: /
|
path: /
|
||||||
port: http
|
port: http
|
||||||
resources:
|
resources:
|
||||||
{}
|
limits:
|
||||||
|
cpu: 20000m
|
||||||
|
memory: 128Gi
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /data/
|
||||||
|
name: data
|
||||||
|
readOnly: false
|
||||||
|
volumes:
|
||||||
|
- name: data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: activetigger-data
|
||||||
---
|
---
|
||||||
# Source: activetigger/templates/ingress.yaml
|
# Source: activetigger/templates/ingress.yaml
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
|
@ -106,7 +128,7 @@ spec:
|
||||||
service:
|
service:
|
||||||
name: release-name-activetigger
|
name: release-name-activetigger
|
||||||
port:
|
port:
|
||||||
number: 8000
|
number: 3838
|
||||||
- host: "activetigger2.lab.groupe-genes.fr"
|
- host: "activetigger2.lab.groupe-genes.fr"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
|
@ -116,7 +138,7 @@ spec:
|
||||||
service:
|
service:
|
||||||
name: release-name-activetigger
|
name: release-name-activetigger
|
||||||
port:
|
port:
|
||||||
number: 8000
|
number: 3838
|
||||||
---
|
---
|
||||||
# Source: activetigger/templates/tests/test-connection.yaml
|
# Source: activetigger/templates/tests/test-connection.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -136,5 +158,5 @@ spec:
|
||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['release-name-activetigger:8000']
|
args: ['release-name-activetigger:3838']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|
|
@ -107,10 +107,9 @@ autoscaling:
|
||||||
|
|
||||||
# Additional volumes on the output Deployment definition.
|
# Additional volumes on the output Deployment definition.
|
||||||
volumes:
|
volumes:
|
||||||
- name: data │
|
- name: data
|
||||||
persistentVolumeClaim: │
|
persistentVolumeClaim:
|
||||||
claimName: activetigger-data
|
claimName: activetigger-data
|
||||||
|
|
||||||
|
|
||||||
# - name: foo
|
# - name: foo
|
||||||
# secret:
|
# secret:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user