Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Run all components in one namespace
[oom.git]
/
kubernetes
/
config
/
docker
/
init
/
src
/
config
/
consul
/
consul-agent-config
/
scripts
/
mr-kafka-health.sh
diff --git
a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/mr-kafka-health.sh
b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/mr-kafka-health.sh
index
317c2a6
..
cde6e8f
100755
(executable)
--- a/
kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/mr-kafka-health.sh
+++ b/
kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/mr-kafka-health.sh
@@
-1,6
+1,6
@@
-kafkapod=$(/consul/config/bin/kubectl -n
onap-message-rout
er get pod | grep -o "global-kafka-[^[:space:]]*")
+kafkapod=$(/consul/config/bin/kubectl -n
namespace-placehold
er get pod | grep -o "global-kafka-[^[:space:]]*")
if [ -n "$kafkapod" ]; then
if [ -n "$kafkapod" ]; then
- if /consul/config/bin/kubectl -n
onap-message-rout
er exec -it $kafkapod -- ps ef | grep -i kafka; then
+ if /consul/config/bin/kubectl -n
namespace-placehold
er exec -it $kafkapod -- ps ef | grep -i kafka; then
echo Success. Kafka process is running. 2>&1
exit 0
else
echo Success. Kafka process is running. 2>&1
exit 0
else