Created
April 27, 2018 01:02
-
-
Save arsenvlad/10340627e2983e0f9e41da00656ad45c to your computer and use it in GitHub Desktop.
minio gateway azure
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: v1 | |
kind: Service | |
metadata: | |
name: minio | |
labels: | |
app: minio | |
spec: | |
clusterIP: None | |
ports: | |
- port: 9012 | |
name: minio | |
selector: | |
app: minio | |
--- | |
apiVersion: apps/v1beta1 | |
kind: StatefulSet | |
metadata: | |
name: minio | |
spec: | |
serviceName: minio | |
replicas: 3 | |
template: | |
metadata: | |
labels: | |
app: minio | |
spec: | |
containers: | |
- name: minio | |
env: | |
- name: MINIO_ACCESS_KEY | |
value: "PUT AZURE STORAGE ACCOUNT NAME HERE" | |
- name: MINIO_SECRET_KEY | |
value: "PUT AZURE STORAGE ACCOUNT KEY HERE" | |
image: minio/minio | |
args: ["gateway","azure","--address",":9012"] | |
ports: | |
- containerPort: 9012 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: minio-service | |
spec: | |
type: LoadBalancer | |
ports: | |
- port: 9012 | |
targetPort: 9012 | |
protocol: TCP | |
selector: | |
app: minio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment