blob: 331c0c799be49d9b8f87342eb41ef42918fdb715 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: ftps-deployment
labels:
app: ftps
spec:
selector:
matchLabels:
app: ftps
replicas: 1
template:
metadata:
labels:
app: ftps
spec:
containers:
- image: cacharle-ftps
imagePullPolicy: Never
name: cacharle-ftps-container
---
apiVersion: v1
kind: Service
metadata:
name: ftps-service
spec:
type: LoadBalancer
ports:
- name: ftps
targetPort: 21
port: 21
- name: ftps-data
targetPort: 21000
port: 21000
selector:
app: ftps
# loadBalancerIP: 192.168.99.240
|