[zh-cn]Replace sample label

This commit is contained in:
Kinzhi
2022-07-27 01:56:20 +08:00
parent 6871dd9cec
commit 683604129d
4 changed files with 7 additions and 7 deletions
@@ -3,12 +3,12 @@ kind: Service
metadata: metadata:
name: my-service name: my-service
labels: labels:
app: MyApp app.kubernetes.io/name: MyApp
spec: spec:
ipFamilies: ipFamilies:
- IPv6 - IPv6
selector: selector:
app: MyApp app.kubernetes.io/name: MyApp
ports: ports:
- protocol: TCP - protocol: TCP
port: 80 port: 80
@@ -5,7 +5,7 @@ metadata:
spec: spec:
ipFamily: IPv6 ipFamily: IPv6
selector: selector:
app: MyApp app.kubernetes.io/name: MyApp
ports: ports:
- protocol: TCP - protocol: TCP
port: 80 port: 80
@@ -3,14 +3,14 @@ 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
ipFamilies: ipFamilies:
- IPv6 - IPv6
type: LoadBalancer type: LoadBalancer
selector: selector:
app: MyApp app.kubernetes.io/name: MyApp
ports: ports:
- protocol: TCP - protocol: TCP
port: 80 port: 80
@@ -3,14 +3,14 @@ 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
ipFamilies: ipFamilies:
- IPv6 - IPv6
- IPv4 - IPv4
selector: selector:
app: MyApp app.kubernetes.io/name: MyApp
ports: ports:
- protocol: TCP - protocol: TCP
port: 80 port: 80