Update to v1.32
This commit is contained in:
53
static-pods/master/minio.yaml
Normal file
53
static-pods/master/minio.yaml
Normal file
@ -0,0 +1,53 @@
|
||||
{{ if .vars.enable_minio }}
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: minio
|
||||
labels:
|
||||
app: minio
|
||||
spec:
|
||||
hostNetwork: true
|
||||
volumes:
|
||||
- name: data
|
||||
hostPath:
|
||||
path: /mnt/storage/k8s-pv-backup
|
||||
type: BlockDevice
|
||||
- name: config
|
||||
emptyDir: {}
|
||||
containers:
|
||||
- name: minio
|
||||
image: minio/minio:RELEASE.2025-01-20T14-49-07Z
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- server
|
||||
- /data
|
||||
- --config-dir=/config
|
||||
env:
|
||||
- name: MINIO_ACCESS_KEY
|
||||
value: {{ .vars.minio_access_key }}
|
||||
- name: MINIO_SECRET_KEY
|
||||
value: {{ .vars.minio_secret_key }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /minio/login
|
||||
port: 9000
|
||||
httpHeaders:
|
||||
- name: User-Agent
|
||||
value: Mozilla
|
||||
readinessProbe:
|
||||
failureThreshold: 3
|
||||
httpGet:
|
||||
path: /minio/login
|
||||
port: 9000
|
||||
httpHeaders:
|
||||
- name: User-Agent
|
||||
value: Mozilla
|
||||
initialDelaySeconds: 15
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: "/data"
|
||||
- name: config
|
||||
mountPath: "/config"
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user