Create dual-stack-preferred-svc.yaml

This commit is contained in:
Sabbir Ahmed Shameem 2024-05-06 22:12:05 +06:00 committed by GitHub
parent 986bfc513d
commit 19d08b2b76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: my-service
labels:
app.kubernetes.io/name: MyApp
spec:
ipFamilyPolicy: PreferDualStack
selector:
app.kubernetes.io/name: MyApp
ports:
- protocol: TCP
port: 80