Last active
July 12, 2022 13:07
-
-
Save crobby/0f581d81da4852a07e2fe493cd04c01e to your computer and use it in GitHub Desktop.
This file contains 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 | |
spec: | |
ports: | |
- name: minio-client-port | |
port: 9000 | |
protocol: TCP | |
targetPort: 9000 | |
selector: | |
app: minio | |
--- | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
labels: | |
app: minio | |
maistra.io/expose-route: 'true' | |
annotations: | |
sidecar.istio.io/inject: 'true' | |
name: minio | |
spec: | |
containers: | |
- args: | |
- server | |
# - /data | |
- /data1 | |
env: | |
- name: MINIO_ACCESS_KEY | |
value: THEACCESSKEY | |
- name: MINIO_SECRET_KEY | |
value: <secretkey> | |
# image: quay.io/cloudservices/minio:latest | |
image: quay.io/opendatahub/modelmesh-minio-examples:v0.8.0 | |
name: minio | |
--- | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: storage-config | |
stringData: | |
localMinIO: | | |
{ | |
"type": "s3", | |
"access_key_id": "THEACCESSKEY", | |
"secret_access_key": "<secretkey>", | |
"endpoint_url": "http://minio:9000", | |
"default_bucket": "modelmesh-example-models", | |
"region": "us-south" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment