Create internal dns name for tunnel ssh ip and use port 22
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m0s
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m0s
This commit is contained in:
parent
e21c9fd428
commit
6fe3a1213f
|
@ -14,11 +14,13 @@ apiVersion: v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: tunnel-ssh
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/hostname: tunnel.svc.${domain}
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- name: "2222"
|
||||
port: 2222
|
||||
port: 22
|
||||
targetPort: 2222
|
||||
selector:
|
||||
app: tunnel
|
||||
|
|
Loading…
Reference in New Issue
Block a user