mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: minio
|
|
name: minio
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: minio
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: minio
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- server
|
|
- /data
|
|
env:
|
|
- name: MINIO_ACCESS_KEY
|
|
value: minio
|
|
- name: MINIO_SECRET_KEY
|
|
value: minio123
|
|
image: minio/minio:RELEASE.2018-02-09T22-40-05Z
|
|
imagePullPolicy: IfNotPresent
|
|
name: minio
|
|
ports:
|
|
- containerPort: 9000
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: minio
|
|
name: minio-service
|
|
spec:
|
|
ports:
|
|
- port: 9000
|
|
protocol: TCP
|
|
targetPort: 9000
|
|
selector:
|
|
app: minio
|
|
type: ClusterIP
|