1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-04 22:17:59 +08:00
Mainflux.mainflux/k8s/mainflux/5-mainflux-normalizer.yml

38 lines
706 B
YAML
Raw Normal View History

apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: normalizer
labels:
component: normalizer
spec:
serviceName: normalizer
replicas: 3
template:
metadata:
labels:
component: normalizer
spec:
containers:
- name: mainflux-normalizer
image: mainflux/normalizer:latest
imagePullPolicy: Always
env:
- name: MF_NATS_URL
value: "nats://nats:4222"
- name: MF_NORMALIZER_PORT
value: "8181"
---
apiVersion: v1
kind: Service
metadata:
name: normalizer
labels:
component: normalizer
spec:
selector:
component: normalizer
ports:
- port: 8181
targetPort: 8181
clusterIP: None