Last active
September 4, 2021 23:05
-
-
Save fmuyassarov/d2745370ca885303ef268591f9ffd2fb to your computer and use it in GitHub Desktop.
MinIO deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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