GoogleCloudPlatform/kubernetes — pull request #1431 by thockin (2014-09-24 19:31:38+00:00)
Title: Fix docker-links-style env vars for services

This includes 3 changes:

1) Use the Service.Protocol field, rather than hardcoding TCP.
2) Use Service.Port rather than ContainerPort - ContainerPort can be a string
and has absolutely no meaning to consumers.
3) Beef up tests for these env vars.