-
Notifications
You must be signed in to change notification settings - Fork 0
/
minikube.yml
63 lines (62 loc) · 1.11 KB
/
minikube.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: pubsub-deployment
labels:
app: pubsub
spec:
replicas: 1
selector:
matchLabels:
app: pubsub
template:
metadata:
labels:
app: pubsub
spec:
containers:
- name: flow-pubsub
image: flowlab/flow-pubsub:latest
imagePullPolicy: IfNotPresent
args: ["--host-port=0.0.0.0:8538", "--project=diatom-ai"]
---
apiVersion: v1
kind: Service
metadata:
name: pubsub
spec:
type: NodePort
ports:
- port: 8538
selector:
app: pubsub
#
#---
#apiVersion: apps/v1
#kind: Deployment
#metadata:
# name: app
# labels:
# app: app
#spec:
# replicas: 1
# selector:
# matchLabels:
# app: app
# template:
# metadata:
# labels:
# app: app
# spec:
# containers:
# - name: app
# image: flowlab/app:latest
# imagePullPolicy: Never
# ports:
# - containerPort: 8080
# env:
# - name: PUBSUB_EMULATOR_HOST
# value: pubsub:8538
# - name: PUBSUB_PROJECT_ID
# value: diatom-ai