18 lines
243 B
YAML
18 lines
243 B
YAML
|
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
|