$ echo -e "frontend\napi\npostgres\n" | xargs -I {} testConnection -n apndkr-dev -f TestConnections.txt -p {}
Reading list of hosts and ports from TestConnections.txt ...
Testing connections from apndkr-dev/frontend ...
google.com:80 - Open
frontend:8080 - Open
api:8080 - Open
postgres:5432 - Open
Reading list of hosts and ports from TestConnections.txt ...
Testing connections from apndkr-dev/api ...
google.com:80 - Open
frontend:8080 - Open
api:8080 - Open
postgres:5432 - Open
Reading list of hosts and ports from TestConnections.txt ...
Testing connections from apndkr-dev/postgres ...
google.com:80 - Open
frontend:8080 - Open
api:8080 - Open
postgres:5432 - Open
After:
$ echo -e "frontend\napi\npostgres\n" | xargs -I {} testConnection -n apndkr-dev -f TestConnections.txt -p {}
Reading list of hosts and ports from TestConnections.txt ...
Testing connections from apndkr-dev/frontend ...
google.com:80 - Closed
frontend:8080 - Closed
api:8080 - Open
postgres:5432 - Closed
Reading list of hosts and ports from TestConnections.txt ...
Testing connections from apndkr-dev/api ...
google.com:80 - Closed
frontend:8080 - Closed
api:8080 - Open
postgres:5432 - Open
Reading list of hosts and ports from TestConnections.txt ...
Testing connections from apndkr-dev/postgres ...
google.com:80 - Closed
frontend:8080 - Closed
api:8080 - Closed
postgres:5432 - Open
Test Results:
Test results were obtained using the
testConnection
script from openshift-developer-tools.Before:
After: