Skip to content

Commit ef8ba30

Browse files
abrightwelljkatz
authored andcommitted
update exposed service ports for nsqadmin
- corrects the configured kubernetes service port for nsqadmin so that it is now available when deployed via the bash and ansible deployment methods. - fixes minor typo on script comments. References: - https://nsq.io/components/nsqd.html - https://nsq.io/components/nsqadmin.html
1 parent ff1b5ac commit ef8ba30

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ansible/roles/pgo-operator/templates/service.json.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
{
1919
"name": "nsqadmin",
2020
"protocol": "TCP",
21-
"port": 4151,
22-
"targetPort": 4151
21+
"port": 4171,
22+
"targetPort": 4171
2323
},
2424
{
2525
"name": "nsqd",

bin/pgo-event/pgo-event.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ echo "pgo-event starting"
2323

2424
trap 'trap_sigterm' SIGINT SIGTERM
2525

26-
echo "pgo-event starting nsqadminy"
26+
echo "pgo-event starting nsqadmin"
2727

2828
/usr/local/bin/nsqadmin --http-address=0.0.0.0:4171 --nsqd-http-address=0.0.0.0:4151 &
2929

deploy/service.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
{
1919
"name": "nsqadmin",
2020
"protocol": "TCP",
21-
"port": 4151,
22-
"targetPort": 4151
21+
"port": 4171,
22+
"targetPort": 4171
2323
},
2424
{
2525
"name": "nsqd",

0 commit comments

Comments
 (0)