This commit is contained in:
2024-05-07 11:58:35 +02:00
parent bc5d68a46c
commit 0a4360fc6d
4 changed files with 11 additions and 20 deletions

View File

@ -4,9 +4,7 @@ kind: Deployment
metadata:
labels:
app.kubernetes.io/instance: sftpgo
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: sftpgo
app.kubernetes.io/version: latest
app: sftpgo
name: sftpgo
namespace: sftpgo
@ -28,10 +26,10 @@ spec:
- serve
image: ghcr.io/drakkan/sftpgo:latest
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /healthz
port: telemetry
# livenessProbe:
# httpGet:
# path: /healthz
# port: telemetry
name: sftpgo
ports:
- containerPort: 2022
@ -43,10 +41,10 @@ spec:
- containerPort: 10000
name: telemetry
protocol: TCP
readinessProbe:
httpGet:
path: /healthz
port: telemetry
# readinessProbe:
# httpGet:
# path: /healthz
# port: telemetry
resources: {}
securityContext: {}
volumeMounts:

View File

@ -1,7 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ca.yaml
- cm.yaml
- deployment.yaml
- sa.yaml
- service.yaml

View File

@ -10,18 +10,11 @@ spec:
port: 22
protocol: TCP
targetPort: sftp
- appProtocol: http
name: http
- name: http
port: 80
protocol: TCP
targetPort: http
- appProtocol: http
name: webdav
port: 8081
protocol: TCP
targetPort: webdav
- appProtocol: http
name: telemetry
- name: telemetry
port: 10000
protocol: TCP
targetPort: telemetry