Skip to content

Instantly share code, notes, and snippets.

@kiall
Created August 16, 2016 13:30
Show Gist options
  • Save kiall/89b5f00306e29b3ca9ed269bacdc2023 to your computer and use it in GitHub Desktop.
Save kiall/89b5f00306e29b3ca9ed269bacdc2023 to your computer and use it in GitHub Desktop.
ubuntu@hcp-kubernetes-master-37aca8ef-639b-11e6-8b93-fa163eefb5e8:~$ kubectl describe service test
Name: test
Namespace: default
Labels: <none>
Selector: name=test
Type: LoadBalancer
IP: 172.16.212.20
LoadBalancer Ingress: 10.250.0.149, 172.31.0.100
Port: http 80/TCP
NodePort: http 30662/TCP
Endpoints: <none>
Port: slave 50000/TCP
NodePort: slave 31121/TCP
Endpoints: <none>
Session Affinity: None
Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
4m 4m 1 {service-controller } Normal CreatingLoadBalancer Creating load balancer
4m 4m 1 {service-controller } Normal CreatedLoadBalancer Created load balancer
stack@deployerincloud-ccp-c0-m1-mgmt:~$ neutron lbaas-loadbalancer-show a201c8bb-c44a-48c8-8bfb-d944fe1f0412
+---------------------+--------------------------------------------------------------+
| Field | Value |
+---------------------+--------------------------------------------------------------+
| admin_state_up | True |
| description | Kubernetes external service a882bf87163b411e6a914fa163e9b51a |
| id | a201c8bb-c44a-48c8-8bfb-d944fe1f0412 |
| listeners | {"id": "5fce700f-ca6e-4f16-a747-07871f2b17c0"} |
| | {"id": "ea13d880-2051-402d-9b45-6d7aae15cbcf"} |
| name | a882bf87163b411e6a914fa163e9b51a |
| operating_status | ONLINE |
| provider | haproxy |
| provisioning_status | ACTIVE |
| tenant_id | 9e98fa33fac34002a917e5d18d7b7fd9 |
| vip_address | 10.250.0.149 |
| vip_port_id | b288887c-ea7a-46ef-b4ff-c27dbfacb70d |
| vip_subnet_id | ca733e12-93e7-406a-ba3a-bede52e73b33 |
+---------------------+--------------------------------------------------------------+
stack@deployerincloud-ccp-c0-m1-mgmt:~$ neutron lbaas-listener-show ea13d880-2051-402d-9b45-6d7aae15cbcf
+---------------------------+------------------------------------------------+
| Field | Value |
+---------------------------+------------------------------------------------+
| admin_state_up | True |
| connection_limit | -1 |
| default_pool_id | 6e8f537a-7469-4c12-a378-6fa35f4ecd50 |
| default_tls_container_ref | |
| description | |
| id | ea13d880-2051-402d-9b45-6d7aae15cbcf |
| loadbalancers | {"id": "a201c8bb-c44a-48c8-8bfb-d944fe1f0412"} |
| name | listener_a882bf87163b411e6a914fa163e9b51a_1 |
| protocol | TCP |
| protocol_port | 50000 |
| sni_container_refs | |
| tenant_id | 9e98fa33fac34002a917e5d18d7b7fd9 |
+---------------------------+------------------------------------------------+
stack@deployerincloud-ccp-c0-m1-mgmt:~$ neutron lbaas-listener-show 5fce700f-ca6e-4f16-a747-07871f2b17c0
+---------------------------+------------------------------------------------+
| Field | Value |
+---------------------------+------------------------------------------------+
| admin_state_up | True |
| connection_limit | -1 |
| default_pool_id | 1b6928f3-b774-4eda-bc5a-33c8b929b8fc |
| default_tls_container_ref | |
| description | |
| id | 5fce700f-ca6e-4f16-a747-07871f2b17c0 |
| loadbalancers | {"id": "a201c8bb-c44a-48c8-8bfb-d944fe1f0412"} |
| name | listener_a882bf87163b411e6a914fa163e9b51a_0 |
| protocol | TCP |
| protocol_port | 80 |
| sni_container_refs | |
| tenant_id | 9e98fa33fac34002a917e5d18d7b7fd9 |
+---------------------------+------------------------------------------------+
stack@deployerincloud-ccp-c0-m1-mgmt:~$ neutron lbaas-pool-show 6e8f537a-7469-4c12-a378-6fa35f4ecd50
+---------------------+------------------------------------------------+
| Field | Value |
+---------------------+------------------------------------------------+
| admin_state_up | True |
| description | |
| healthmonitor_id | |
| id | 6e8f537a-7469-4c12-a378-6fa35f4ecd50 |
| lb_algorithm | ROUND_ROBIN |
| listeners | {"id": "ea13d880-2051-402d-9b45-6d7aae15cbcf"} |
| members | 115a05c6-86f9-4f7b-af77-6c647727e586 |
| name | pool_a882bf87163b411e6a914fa163e9b51a_1 |
| protocol | TCP |
| session_persistence | |
| tenant_id | 9e98fa33fac34002a917e5d18d7b7fd9 |
+---------------------+------------------------------------------------+
stack@deployerincloud-ccp-c0-m1-mgmt:~$ neutron lbaas-pool-show 1b6928f3-b774-4eda-bc5a-33c8b929b8fc
+---------------------+------------------------------------------------+
| Field | Value |
+---------------------+------------------------------------------------+
| admin_state_up | True |
| description | |
| healthmonitor_id | |
| id | 1b6928f3-b774-4eda-bc5a-33c8b929b8fc |
| lb_algorithm | ROUND_ROBIN |
| listeners | {"id": "5fce700f-ca6e-4f16-a747-07871f2b17c0"} |
| members | 649edf23-2e49-4914-8bc4-05362bf6a68d |
| name | pool_a882bf87163b411e6a914fa163e9b51a_0 |
| protocol | TCP |
| session_persistence | |
| tenant_id | 9e98fa33fac34002a917e5d18d7b7fd9 |
+---------------------+------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment