website/content/zh/examples/service/networking/dual-stack-ipv4-svc.yaml

12 lines
174 B
YAML

apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
ipFamily: IPv4
selector:
app: MyApp
ports:
- protocol: TCP
port: 80
targetPort: 9376