Merge pull request #35266 from kinzhi/kinzhi167

[zh-cn]Update content/zh-cn/docs/concepts/services-networking/dual-stack.md
This commit is contained in:
Kubernetes Prow Robot
2022-07-23 00:44:56 -07:00
committed by GitHub
@@ -335,7 +335,7 @@ dual-stack.)
kind: Service kind: Service
metadata: metadata:
labels: labels:
app: MyApp app.kubernetes.io/name: MyApp
name: my-service name: my-service
spec: spec:
clusterIP: 10.0.197.123 clusterIP: 10.0.197.123
@@ -349,7 +349,7 @@ dual-stack.)
protocol: TCP protocol: TCP
targetPort: 80 targetPort: 80
selector: selector:
app: MyApp app.kubernetes.io/name: MyApp
type: ClusterIP type: ClusterIP
status: status:
loadBalancer: {} loadBalancer: {}
@@ -385,7 +385,7 @@ dual-stack.)
kind: Service kind: Service
metadata: metadata:
labels: labels:
app: MyApp app.kubernetes.io/name: MyApp
name: my-service name: my-service
spec: spec:
clusterIP: None clusterIP: None
@@ -399,7 +399,7 @@ dual-stack.)
protocol: TCP protocol: TCP
targetPort: 80 targetPort: 80
selector: selector:
app: MyApp app.kubernetes.io/name: MyApp
``` ```
<!-- <!--