forked from PipelineAI/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstream-cpu-deploy.yaml
38 lines (38 loc) · 966 Bytes
/
stream-cpu-deploy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: stream-cpu
labels:
app: stream-cpu
spec:
replicas: 1
template:
metadata:
labels:
app: stream-cpu
spec:
containers:
- name: stream-cpu
image: docker.io/pipelineai/stream-cpu:1.5.0
imagePullPolicy: "Always"
env:
- name: PIPELINE_STREAM_LOGGER_TOPIC
value: logger
- name: PIPELINE_STREAM_INPUT_TOPIC
value: input
- name: PIPELINE_STREAM_OUTPUT_TOPIC
value: output
- name: PIPELINE_STREAM_ENABLE_KAFKA_REST_API
value: "true"
- name: PIPELINE_STREAM_ENABLE_MQTT
value: "true"
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
ports:
- containerPort: 9092
- containerPort: 8082
- containerPort: 8081
- containerPort: 1883
# - containerPort: 2181