services/srcs/ftp/service.yaml

18 lines
243 B
YAML
Raw Normal View History

2023-03-01 04:35:44 +01:00
apiVersion: v1
kind: Service
metadata:
name: ftp
spec:
type: LoadBalancer
selector:
app: ftp
ports:
- name: ftp
protocol: TCP
port: 21
nodePort: 21
- name: pftp
protocol: TCP
port: 21000
nodePort: 21000