Files
kubernetes/examples/environment-guide/backend-srv.yaml
Jeff Mendoza c2a3e4e811 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.
2015-06-09 09:07:27 -07:00

14 lines
179 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: backend-srv
labels:
type: backend-type
spec:
ports:
- port: 5000
protocol: TCP
selector:
type: backend-type