Files
SivananthamandGitHub 6ee5c481e4 Update kafka example (#2817)
Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
2023-05-19 21:59:23 -04:00

51 lines
940 B
YAML

apiVersion: apps/v1
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.2020-10-18T21-54-12Z
imagePullPolicy: IfNotPresent
name: minio
ports:
- containerPort: 9000
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
labels:
app: minio
name: minio-service
spec:
ports:
- port: 9000
protocol: TCP
targetPort: 9000
selector:
app: minio
type: ClusterIP