k8s guestbook example

This commit is contained in:
Vincent Fiduccia
2016-03-09 11:52:25 -07:00
parent c462456014
commit f0dfd83154
9 changed files with 145 additions and 0 deletions
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: ${SERVICE_NAME}
labels:
name: ${SERVICE_NAME}
spec:
# if your cluster supports it, uncomment the following to automatically create
# an external load-balanced IP for the frontend service.
type: LoadBalancer
ports:
# the port that this service should serve on
- port: "${SERVICE_PORT}"
selector:
name: ${FRONTEND_NAME}