Skip to content

Instantly share code, notes, and snippets.

@fmuyassarov
Last active September 4, 2021 23:05
Show Gist options
  • Save fmuyassarov/d2745370ca885303ef268591f9ffd2fb to your computer and use it in GitHub Desktop.
Save fmuyassarov/d2745370ca885303ef268591f9ffd2fb to your computer and use it in GitHub Desktop.
MinIO deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: minio
namespace: prow
spec:
selector:
matchLabels:
app: minio
strategy:
type: Recreate
template:
metadata:
labels:
app: minio
spec:
containers:
- name: minio
image: minio/minio:latest
args:
- gateway
- azure
- --console-address=:33333
env:
- name: MINIO_ROOT_USER
value: "foo"
- name: MINIO_ROOT_PASSWORD
value: "abc"
- name: MINIO_REGION_NAME
value: minio
ports:
- containerPort: 9000
readinessProbe:
httpGet:
path: /minio/health/ready
port: 9000
periodSeconds: 20
livenessProbe:
httpGet:
path: /minio/health/live
port: 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment