Merge pull request #35515 from kinzhi/kinzhi192
[zh-cn]Update content/zh-cn/examples/service/networking/dual-stack-preferred-svc.yaml
This commit is contained in:
commit
b9b61c8468
|
|
@ -3,11 +3,11 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: my-service
|
name: my-service
|
||||||
labels:
|
labels:
|
||||||
app: MyApp
|
app.kubernetes.io/name: MyApp
|
||||||
spec:
|
spec:
|
||||||
ipFamilyPolicy: PreferDualStack
|
ipFamilyPolicy: PreferDualStack
|
||||||
selector:
|
selector:
|
||||||
app: MyApp
|
app.kubernetes.io/name: MyApp
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue