Commit 2a1971ff authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Update indices

Add kafkamagic
parent 236159ca
......@@ -4,13 +4,13 @@ kubectl delete configmap prod-reports-index
kubectl create configmap prod-reports-index --from-literal ELASTIC_INDEX="reports-v1"
kubectl delete configmap prod-institutions-index
kubectl create configmap prod-institutions-index --from-literal ELASTIC_INDEX="institutions-v5"
kubectl create configmap prod-institutions-index --from-literal ELASTIC_INDEX="institutions-v6"
kubectl delete configmap prod-record-sets-index
kubectl create configmap prod-record-sets-index --from-literal ELASTIC_INDEX="record-sets-v5"
kubectl create configmap prod-record-sets-index --from-literal ELASTIC_INDEX="record-sets-v6"
kubectl delete configmap prod-documents-index
kubectl create configmap prod-documents-index --from-literal ELASTIC_INDEX="documents-v20"
kubectl create configmap prod-documents-index --from-literal ELASTIC_INDEX="documents-v21"
kubectl delete configmap prod-edm-index
kubectl create configmap prod-edm-index --from-literal ELASTIC_INDEX="oai-v3"
\ No newline at end of file
apiVersion: apps/v1
kind: Deployment
metadata:
name: kafkamagic
namespace: memobase
labels:
app: kafkamagic
spec:
selector:
matchLabels:
app: kafkamagic
replicas: 1
template:
metadata:
labels:
app: kafkamagic
group: devops
spec:
containers:
- name: kafkamagic-container
image: digitsy/kafka-magic:latest
ports:
- containerPort: 80
name: http
protocol: TCP
imagePullPolicy: Always
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
namespace: memobase
name: kafkamagic-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
tls:
- hosts:
- kafka.memobase.k8s.unibas.ch
secretName: kafka.memobase.k8s.unibas.ch-tls
rules:
- host: kafka.memobase.k8s.unibas.ch
http:
paths:
- path: /
backend:
serviceName: kafkamagic-service
servicePort: 8080
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
namespace: memobase
name: kafkamagic-service
labels:
app: kafkamagic
spec:
ports:
- port: 8080
targetPort: 80
selector:
app: kafkamagic
group: devops
clusterIP: None
\ No newline at end of file
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