Skip to content

Commit fa3f3f8

Browse files
laveryagithub-actions[bot]
authored andcommitted
Create new minio version
1 parent ed8766a commit fa3f3f8

23 files changed

+1156
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
image minio minio/minio:RELEASE.2025-02-28T09-55-16Z
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
# This name uniquely identifies the Deployment
5+
name: minio
6+
spec:
7+
replicas: 1
8+
selector:
9+
matchLabels:
10+
app: minio # has to match .spec.template.metadata.labels
11+
strategy:
12+
# Specifies the strategy used to replace old Pods by new ones
13+
# Refer: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
14+
type: Recreate
15+
template:
16+
metadata:
17+
labels:
18+
# This label is used as a selector in Service definition
19+
app: minio
20+
spec:
21+
containers:
22+
- name: minio
23+
# Volume mounts for this container
24+
volumeMounts:
25+
# Volume 'data' is mounted to path '/data'
26+
- name: data
27+
mountPath: "/data"
28+
# Pulls the lastest Minio image from Docker Hub
29+
image: minio/minio:RELEASE.2025-02-28T09-55-16Z
30+
args:
31+
- --quiet
32+
- server
33+
- /data
34+
env:
35+
- name: MINIO_UPDATE
36+
value: "off"
37+
# MinIO access key and secret key
38+
- name: MINIO_ACCESS_KEY
39+
valueFrom:
40+
secretKeyRef:
41+
name: minio-credentials
42+
key: MINIO_ACCESS_KEY
43+
- name: MINIO_SECRET_KEY
44+
valueFrom:
45+
secretKeyRef:
46+
name: minio-credentials
47+
key: MINIO_SECRET_KEY
48+
ports:
49+
- containerPort: 9000
50+
# Readiness probe detects situations when MinIO server instance
51+
# is not ready to accept traffic. Kubernetes doesn't forward
52+
# traffic to the pod while readiness checks fail.
53+
readinessProbe:
54+
httpGet:
55+
path: /minio/health/ready
56+
port: 9000
57+
initialDelaySeconds: 5
58+
periodSeconds: 20
59+
# Liveness probe detects situations where MinIO server instance
60+
# is not working properly and needs restart. Kubernetes automatically
61+
# restarts the pods if liveness checks fail.
62+
livenessProbe:
63+
httpGet:
64+
path: /minio/health/live
65+
port: 9000
66+
initialDelaySeconds: 5
67+
periodSeconds: 20

0 commit comments

Comments
 (0)