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
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: tunnel-ssh
|
name: tunnel-ssh
|
||||||
|
annotations:
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: tunnel.svc.${domain}
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
ports:
|
ports:
|
||||||
- name: "2222"
|
- name: "2222"
|
||||||
port: 2222
|
port: 22
|
||||||
targetPort: 2222
|
targetPort: 2222
|
||||||
selector:
|
selector:
|
||||||
app: tunnel
|
app: tunnel
|
||||||
|
|
Loading…
Reference in New Issue
Block a user