Skip to content

Commit fcc269d

Browse files
authored
Merge pull request #35416 from kinzhi/kinzhi185
[zh-cn]Replace sample label
2 parents b091215 + 6836041 commit fcc269d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

content/zh-cn/examples/service/networking/dual-stack-ipfamilies-ipv6.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ kind: Service
33
metadata:
44
name: my-service
55
labels:
6-
app: MyApp
6+
app.kubernetes.io/name: MyApp
77
spec:
88
ipFamilies:
99
- IPv6
1010
selector:
11-
app: MyApp
11+
app.kubernetes.io/name: MyApp
1212
ports:
1313
- protocol: TCP
1414
port: 80

content/zh-cn/examples/service/networking/dual-stack-ipv6-svc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
ipFamily: IPv6
77
selector:
8-
app: MyApp
8+
app.kubernetes.io/name: MyApp
99
ports:
1010
- protocol: TCP
1111
port: 80

content/zh-cn/examples/service/networking/dual-stack-prefer-ipv6-lb-svc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ kind: Service
33
metadata:
44
name: my-service
55
labels:
6-
app: MyApp
6+
app.kubernetes.io/name: MyApp
77
spec:
88
ipFamilyPolicy: PreferDualStack
99
ipFamilies:
1010
- IPv6
1111
type: LoadBalancer
1212
selector:
13-
app: MyApp
13+
app.kubernetes.io/name: MyApp
1414
ports:
1515
- protocol: TCP
1616
port: 80

content/zh-cn/examples/service/networking/dual-stack-preferred-ipfamilies-svc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ kind: Service
33
metadata:
44
name: my-service
55
labels:
6-
app: MyApp
6+
app.kubernetes.io/name: MyApp
77
spec:
88
ipFamilyPolicy: PreferDualStack
99
ipFamilies:
1010
- IPv6
1111
- IPv4
1212
selector:
13-
app: MyApp
13+
app.kubernetes.io/name: MyApp
1414
ports:
1515
- protocol: TCP
1616
port: 80

0 commit comments

Comments
 (0)