c87a30450a
1. Confirm the document content is similar as en version.
2. Merge the zh release-1.14 version into 1.15 version
3. add the 1.14 all sample into 1.15 for template work. The build looks fine.
- docs
- concepts
- architecture
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
|