Hi
i try to setup an ftp service (ftp-serv nodejs) on kuberntes with latest helm traefik version.
this is my config:
values.yaml for traefik helm deployment
ports:
ftp:
port: 8021
expose: true
exposedPort: 21
protocol: TCP
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: {{ include "gateway-ftp.fullname" . }}
spec:
entryPoints:
- ftp
routes:
- match: HostSNI(`*`)
services:
- name: {{ include "gateway-ftp.fullname" . }}
port: 8021
apiVersion: v1
kind: Service
metadata:
name: {{ include "gateway-ftp.fullname" . }}
labels:
{{- include "gateway-ftp.labels" . | nindent 4 }}
spec:
type: ClusterIP
ports:
- name: ftp
protocol: TCP
port: 8021
targetPort: 8021
In my terminal:
curl -vvv ftp://blah.test.com │~ │~
* Trying x.x.x.x:21... │~ │~
* Connected to blah.test.com (x.x.x.x) port 21 (#0)
nothing else port open but no connection.
I try my ftp service thru port-forward or thru hostPort and it works ...
I think i tried everything …
Before changing my proxy solution … Try to find help here.
Thanks in advance