Move walkthroughs from user-guide to tutorials. (#8933)

This commit is contained in:
Steve Perry
2018-06-06 12:36:25 -07:00
committed by k8s-ci-robot
parent 6c5685b01b
commit 70fd7dca04
15 changed files with 18 additions and 41 deletions
+16
View File
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
ports:
- port: 8000 # the port that this service should serve on
# the container on each pod to connect to, can be a name
# (e.g. 'www') or a number (e.g. 80)
targetPort: 80
protocol: TCP
# just like the selector in the deployment,
# but this time it identifies the set of pods to load balance
# traffic to.
selector:
app: nginx