helm/code-ssh/service.yaml
2022-08-15 08:29:50 +08:00

20 lines
320 B
YAML

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