blob: f8c0bf7b39be1f4ad054b4072d77a1b878addc75 (
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
40
41
42
|
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
labels:
app: ftps
annotations:
metallb.universe.tf/allow-shared-ip: shared
spec:
type: LoadBalancer
ports:
- name: ftps
targetPort: 21
port: 21
- name: ftps-data
targetPort: 21000
port: 21000
selector:
app: ftps
|