projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better release note check
[osm/devops.git]
/
installers
/
docker
/
osm_pods
/
mon.yaml
diff --git
a/installers/docker/osm_pods/mon.yaml
b/installers/docker/osm_pods/mon.yaml
index
988054f
..
8b00fb4
100644
(file)
--- a/
installers/docker/osm_pods/mon.yaml
+++ b/
installers/docker/osm_pods/mon.yaml
@@
-47,10
+47,10
@@
spec:
initContainers:
- name: kafka-mongo-test
image: alpine:latest
initContainers:
- name: kafka-mongo-test
image: alpine:latest
- command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo 27017); do sleep 3; done; exit 0"]
+ command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo
db-k8s
27017); do sleep 3; done; exit 0"]
containers:
- name: mon
containers:
- name: mon
- image: opensourcemano/mon:
8
+ image: opensourcemano/mon:
10
ports:
- containerPort: 8662
protocol: TCP
ports:
- containerPort: 8662
protocol: TCP
@@
-59,13
+59,8
@@
spec:
value: kafka
- name: OSMMON_MESSAGE_PORT
value: "9092"
value: kafka
- name: OSMMON_MESSAGE_PORT
value: "9092"
+ - name: OSMMON_DATABASE_URI
+ value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
envFrom:
- secretRef:
name: mon-secret
envFrom:
- secretRef:
name: mon-secret
- volumeMounts:
- - name: mon-storage
- mountPath: /app/database
- volumes:
- - name: mon-storage
- hostPath:
- path: /var/lib/osm/osm_mon_db/_data