helm/code-ssh/service.yaml

20 lines
320 B
YAML
Raw Normal View History

2022-08-15 00:29:50 +00:00
apiVersion: v1
kind: Service
metadata:
name: code-ssh
annotations:
holepunch/punch-external: 'false'
spec:
selector:
app: code-ssh
ports:
- port: 2333
targetPort: ssh
name: ssh
protocol: TCP
type: LoadBalancer
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6