Add Environment Guide example.

This example shows a simple two tier setup in Kubernetes, and
simply prints the environment information that each pod sees.
Querying the service multiple times will show services at work
load balancing requests.
This commit is contained in:
Jeff Mendoza
2015-04-16 11:47:59 -07:00
parent dafe79e5de
commit c2a3e4e811
11 changed files with 341 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: backend-srv
labels:
type: backend-type
spec:
ports:
- port: 5000
protocol: TCP
selector:
type: backend-type