Files
k3s-stacks/apps/minio/Deployment.yaml
T

64 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: minio
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: minio
template:
metadata:
labels:
app: minio
spec:
containers:
- name: minio
image: minio/minio:RELEASE.2025-04-22T22-12-26Z
args:
- server
- /data
- --address
- :9000
- --console-address
- :9001
envFrom:
- secretRef:
name: minio-root
env:
- name: MINIO_BROWSER_REDIRECT_URL
value: https://minio.andy.dev.br
- name: MINIO_SERVER_URL
value: https://s3.andy.dev.br
ports:
- containerPort: 9000
name: api
- containerPort: 9001
name: console
readinessProbe:
httpGet:
path: /minio/health/ready
port: 9000
periodSeconds: 10
livenessProbe:
httpGet:
path: /minio/health/live
port: 9000
initialDelaySeconds: 20
periodSeconds: 30
volumeMounts:
- name: data
mountPath: /data
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 2Gi
volumes:
- name: data
persistentVolumeClaim:
claimName: minio-data