apiVersion: v1 kind: Service metadata: name: resilio-sync spec: type: LoadBalancer ipFamilyPolicy: PreferDualStack ipFamilies: - IPv4 - IPv6 selector: app: resilio-sync ports: - name: web port: 8888 targetPort: 8888 - name: sync port: 55555 targetPort: 55555