apiVersion: v1
kind: Service
metadata:
name: minio-svc
namespace: minio
spec:
selector:
app: minio
type: ClusterIP
ports:
- name: minio-api
protocol: TCP
port: 9000
targetPort: 9000
- name: minio-console
port: 9001
targetPort: 9001