Skip to content

Instantly share code, notes, and snippets.

@rimusz
Last active August 29, 2015 14:02
Show Gist options
  • Save rimusz/53e7544f001976cbbf29 to your computer and use it in GitHub Desktop.
Save rimusz/53e7544f001976cbbf29 to your computer and use it in GitHub Desktop.
gcutil gettargetpoolhealth lb-non-ivory-sites-pool
+-------------------------------------------+----------------+--------------+
| instance | ip | health-state |
+-------------------------------------------+----------------+--------------+
| europe-west1-a/instances/non-ivory-sites3 | 146.148.20.255 | UNHEALTHY |
+-------------------------------------------+----------------+--------------+
| europe-west1-b/instances/non-ivory-sites2 | 146.148.20.255 | UNHEALTHY |
+-------------------------------------------+----------------+--------------+
| europe-west1-b/instances/non-ivory-sites1 | 146.148.20.255 | UNHEALTHY |
+-------------------------------------------+----------------+--------------+
gcutil gethttphealthcheck lb-non-ivory-sites-check
+---------------------+-------------------------------+
| name | lb-non-ivory-sites-check |
| description | |
| creation-time | 2014-05-25T08:58:30.043-07:00 |
| host | |
| port | 8182 |
| request-path | /v1/status |
| check-interval-sec | 5 |
| check-timeout-sec | 5 |
| unhealthy-threshold | 2 |
| healthy-threshold | 2 |
+---------------------+-------------------------------+
gcutil listforwardingrules --columns=all
+-------------------------+-------------+--------------+----------------+----------+------------+--------------------------------------------------+
| name | description | region | ip | protocol | port-range | target |
+-------------------------+-------------+--------------+----------------+----------+------------+--------------------------------------------------+
| lb-non-ivory-sites-rule | | europe-west1 | 146.148.20.255 | TCP | 80-80 | europe-west1/targetPools/lb-non-ivory-sites-pool |
+-------------------------+-------------+--------------+----------------+----------+------------+--------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment