1 changed files with 39 additions and 0 deletions
@ -0,0 +1,39 @@ |
|||
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: |
|||
namespace: minio |
|||
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"] |
Loading…
Reference in new issue