ingress and service
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: sftpgo
|
||||
name: sftpgo-http
|
||||
namespace: sftpgo
|
||||
spec:
|
||||
entryPoints:
|
||||
@ -12,4 +12,20 @@ spec:
|
||||
kind: Rule
|
||||
services:
|
||||
- name: sftpgo
|
||||
port: http
|
||||
port: http
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: sftpgo-ssh
|
||||
namespace: sftpgo
|
||||
spec:
|
||||
entryPoints:
|
||||
- ssh
|
||||
tls: {}
|
||||
routes:
|
||||
- match: Host(`sftp.steffenillium.de`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: sftpgo
|
||||
port: ssh
|
@ -32,6 +32,7 @@ spec:
|
||||
- --entrypoints.metrics.address=:9100/tcp
|
||||
- --entrypoints.traefik.address=:9000/tcp
|
||||
- --entrypoints.dns.address=:53/udp
|
||||
- --entrypoints.dns.address=:22/tcp
|
||||
|
||||
- --entrypoints.web-local.address=:80/tcp
|
||||
- --entrypoints.web-local.http.redirections.entrypoint.to=websecure-local
|
||||
@ -97,6 +98,9 @@ spec:
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 2
|
||||
ports:
|
||||
- containerPort: 22
|
||||
name: ssh
|
||||
protocol: TCP
|
||||
- containerPort: 53
|
||||
name: dns
|
||||
protocol: UDP
|
||||
|
Reference in New Issue
Block a user