You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
746 B
38 lines
746 B
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: minio
|
|
spec:
|
|
ports:
|
|
- port: 9000
|
|
selector:
|
|
app: minio-covidok
|
|
---
|
|
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
|
|
kind: Deployment
|
|
metadata:
|
|
name: minio-covidok
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: minio-covidok
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: minio-covidok
|
|
spec:
|
|
containers:
|
|
- image: minio/minio
|
|
name: minio
|
|
env:
|
|
- name: MINIO_ACCESS_KEY
|
|
value: "secretaccesskey"
|
|
- name: MINIO_SECRET_KEY
|
|
value: "secretsecretkey"
|
|
ports:
|
|
- containerPort: 9000
|
|
name: minio
|
|
command: ["minio"]
|
|
args: ["server", "/data"]
|
|
|