[FEATURE] Initial FTP data
This commit is contained in:
parent
8ef46ac02f
commit
7348b07352
13 changed files with 330 additions and 204 deletions
36
lib/k8s/configs/containers/ftp-server.yml
Normal file
36
lib/k8s/configs/containers/ftp-server.yml
Normal file
|
@ -0,0 +1,36 @@
|
|||
env:
|
||||
- name: FTP_USER
|
||||
value: "minecluster"
|
||||
- name: FTP_PASS
|
||||
value: "minecluster"
|
||||
image: garethflowers/ftp-server
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
exec:
|
||||
command: ["echo"]
|
||||
failureThreshold: 20
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 5
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
name: changeme-name-ftp
|
||||
ports: [] # Programatically add all the ports for easier readability, Ports include: 20,21,40000-400009
|
||||
readinessProbe:
|
||||
exec:
|
||||
command: ["echo"]
|
||||
failureThreshold: 20
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 5
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
stdin: true
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
tty: true
|
||||
volumeMounts:
|
||||
- mountPath: /home/minecluster
|
||||
name: datadir
|
Loading…
Add table
Add a link
Reference in a new issue