add minio nodeports

This commit is contained in:
Cedric Verstraeten
2025-02-19 00:34:41 +01:00
parent cd67f73700
commit a8a2fb0ea3
2 changed files with 20 additions and 1 deletions

View File

@@ -1,2 +1,4 @@
namespace: minio-tenant
resources:
- minio-tenant-base.yaml
- minio-tenant-base.yaml
- minio-nodeports.yaml

View File

@@ -0,0 +1,17 @@
---
apiVersion: v1
kind: Service
metadata:
name: minio-nodeport
labels:
app: myminio
spec:
type: NodePort
ports:
- port: 9000
targetPort: 9000
nodePort: 30090 # You can specify a port in the range 30000-32767 or let Kubernetes assign one automatically
name: myminio
protocol: TCP
selector:
v1.min.io/tenant: myminio