From c6021925e4f1594fb9354086e012c8b3387938b8 Mon Sep 17 00:00:00 2001 From: wlan0 Date: Fri, 19 Mar 2021 17:41:54 -0700 Subject: [PATCH] add minio.yaml --- minio.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 minio.yaml diff --git a/minio.yaml b/minio.yaml new file mode 100644 index 0000000..cc359dd --- /dev/null +++ b/minio.yaml @@ -0,0 +1,41 @@ +apiVersion: v1 +kind: Service +metadata: + name: minio +spec: + type: ClusterIP + ports: + - port: 9000 + targetPort: 9000 + protocol: TCP + selector: + app: minio + +--- + +apiVersion: apps/v1 +kind: Deployment +metadata: + name: minio + labels: + app: minio +spec: + selector: + matchLabels: + app: minio + template: + metadata: + labels: + app: minio + spec: + containers: + - image: minio/minio:latest + name: image + args: + - server + - /data + env: + - name: MINIO_ACCESS_KEY + value: minio + - name: MINIO_SECRET_KEY + value: minio123