k9casca2/k3s-ansible-copia/example/service.yml
2025-04-08 11:18:50 +00:00

14 lines
190 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
ipFamilyPolicy: PreferDualStack
selector:
app: nginx
ports:
- port: 80
targetPort: 80
type: LoadBalancer