[zh-cn]Update content/zh-cn/examples/service/networking/dual-stack-preferred-svc.yaml
parent
550f3e5b99
commit
919a54083c
|
@ -3,11 +3,11 @@ kind: Service
|
|||
metadata:
|
||||
name: my-service
|
||||
labels:
|
||||
app: MyApp
|
||||
app.kubernetes.io/name: MyApp
|
||||
spec:
|
||||
ipFamilyPolicy: PreferDualStack
|
||||
selector:
|
||||
app: MyApp
|
||||
app.kubernetes.io/name: MyApp
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
|
|
Loading…
Reference in New Issue