3dd65e4e95
This PR deals with the getting started guides (windows) and tutorials sections. Since the YAML files in the windows directory currently are not referenced at all, this PR refactored the markdown file to correct this problem. When appropriate, we use the YAML content from the markdown in the extracted version.
17 lines
428 B
YAML
17 lines
428 B
YAML
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
|