Verified Commit 7b8d99ff authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

add k8s manifests

parent 46c1bfcc
Pipeline #10366 failed with stages
in 8 minutes and 5 seconds
apiVersion: apps/v1
kind: Deployment
metadata:
name: indexer-helper-deployment
namespace: memobase
labels:
app: indexer-helper-app
spec:
selector:
matchLabels:
app: indexer-helper-app
replicas: 1
template:
metadata:
labels:
app: indexer-helper-app
tier: web
spec:
containers:
- name: indexer-helper-container
image: cr.gitlab.switch.ch/memoriav/memobase-2020/services/histogram:latest
ports:
- containerPort: 8083
name: http
protocol: TCP
imagePullPolicy: Always
volumeMounts:
- name: config
mountPath: /app/configs
command: ["/app/app", "-cfg", "/app/configs/histogram.toml"]
restartPolicy: Always
volumes:
- name: config
configMap:
name: indexer-helper-config
apiVersion: v1
kind: Service
metadata:
namespace: memobase
name: indexer-helper-service
labels:
app: indexer-helper-app
spec:
ports:
- port: 8083
selector:
app: indexer-helper-app
tier: web
clusterIP: None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment