diff --git a/Makefile b/Makefile index 2600be2b7ac..a5e0c1faebc 100644 --- a/Makefile +++ b/Makefile @@ -32,3 +32,8 @@ govet: gotest: @go test -race ./... + +clean: + @echo "Cleaning up all the generated files" + @find . -name '*.test' | xargs rm -fv + @find . -name '*~' | xargs rm -fv diff --git a/examples/minioinstance-kes.yaml b/examples/minioinstance-kes.yaml index 278fbbe9527..9c33ec9bd2a 100644 --- a/examples/minioinstance-kes.yaml +++ b/examples/minioinstance-kes.yaml @@ -64,7 +64,7 @@ spec: ## Number of MinIO servers/pods in this zone. ## For standalone mode, supply 1. For distributed mode, supply 4 or more. ## Note that the operator does not support upgrading from standalone to distributed mode. - servers: 4 + servers: 16 ## Supply number of volumes to be mounted per MinIO server instance. volumesPerServer: 1 ## Mount path where PV will be mounted inside container(s). Defaults to "/export". @@ -82,7 +82,7 @@ spec: - ReadWriteOnce resources: requests: - storage: 10Gi + storage: 1Ti ## Define configuration for MCS (Graphical user interface for MinIO) mcs: image: minio/mcs:v0.0.4 @@ -134,16 +134,15 @@ spec: # operator: Equal # value: storage ## Add environment variables to be set in MinIO container (https://github.com/minio/minio/tree/master/docs/config) - env: - - name: MINIO_BROWSER - value: "on" - # - name: MINIO_STORAGE_CLASS_RRS - # value: "EC:2" + # env: + # - name: MINIO_BROWSER + # value: "off" # to turn-off browser + # - name: MINIO_STORAGE_CLASS_STANDARD + # value: "EC:4" ## Configure resource requests and limits for MinIO containers - resources: - requests: - memory: 512Mi - cpu: 250m + # resources: + # requests: + # memory: 20Gi ## Liveness probe detects situations where MinIO server instance ## is not working properly and needs restart. Kubernetes automatically ## restarts the pods if liveness checks fail. diff --git a/examples/minioinstance-mcs.yaml b/examples/minioinstance-mcs.yaml index 7e547793969..bbf86b6ee07 100644 --- a/examples/minioinstance-mcs.yaml +++ b/examples/minioinstance-mcs.yaml @@ -64,7 +64,7 @@ spec: ## Number of MinIO servers/pods in this zone. ## For standalone mode, supply 1. For distributed mode, supply 4 or more. ## Note that the operator does not support upgrading from standalone to distributed mode. - servers: 4 + servers: 16 ## Supply number of volumes to be mounted per MinIO server instance. volumesPerServer: 1 ## Mount path where PV will be mounted inside container(s). Defaults to "/export". @@ -82,7 +82,7 @@ spec: - ReadWriteOnce resources: requests: - storage: 10Gi + storage: 1Ti ## Define configuration for MCS (Graphical user interface for MinIO) mcs: image: minio/mcs:v0.0.4 @@ -122,16 +122,15 @@ spec: # operator: Equal # value: storage ## Add environment variables to be set in MinIO container (https://github.com/minio/minio/tree/master/docs/config) - env: - - name: MINIO_BROWSER - value: "on" - # - name: MINIO_STORAGE_CLASS_RRS - # value: "EC:2" + # env: + # - name: MINIO_BROWSER + # value: "off" # to turn-off browser + # - name: MINIO_STORAGE_CLASS_STANDARD + # value: "EC:4" ## Configure resource requests and limits for MinIO containers - resources: - requests: - memory: 512Mi - cpu: 250m + # resources: + # requests: + # memory: 20Gi ## Liveness probe detects situations where MinIO server instance ## is not working properly and needs restart. Kubernetes automatically ## restarts the pods if liveness checks fail. diff --git a/examples/minioinstance.yaml b/examples/minioinstance.yaml index 889ceb28ff7..b400006db01 100644 --- a/examples/minioinstance.yaml +++ b/examples/minioinstance.yaml @@ -17,6 +17,9 @@ spec: - port: 9000 targetPort: 9000 protocol: TCP + # Optional field + # By default and for convenience, the Kubernetes control plane will allocate a port from a range (default: 30000-32767) + # nodePort: 30007 selector: app: minio --- @@ -47,7 +50,7 @@ spec: ## Number of MinIO servers/pods in this zone. ## For standalone mode, supply 1. For distributed mode, supply 4 or more. ## Note that the operator does not support upgrading from standalone to distributed mode. - servers: 4 + servers: 16 ## Supply number of volumes to be mounted per MinIO server instance. volumesPerServer: 1 ## Mount path where PV will be mounted inside container(s). Defaults to "/export". @@ -65,7 +68,7 @@ spec: - ReadWriteOnce resources: requests: - storage: 10Gi + storage: 1Ti ## Secret with credentials to be used by MinIO instance. credsSecret: name: minio-creds-secret @@ -96,16 +99,15 @@ spec: # operator: Equal # value: storage ## Add environment variables to be set in MinIO container (https://github.com/minio/minio/tree/master/docs/config) - env: - - name: MINIO_BROWSER - value: "on" - # - name: MINIO_STORAGE_CLASS_RRS + # env: + # - name: MINIO_BROWSER + # value: "off" # to turn-off browser + # - name: MINIO_STORAGE_CLASS_STANDARD # value: "EC:2" ## Configure resource requests and limits for MinIO containers - resources: - requests: - memory: 512Mi - cpu: 250m + # resources: + # requests: + # memory: 20Gi ## Liveness probe detects situations where MinIO server instance ## is not working properly and needs restart. Kubernetes automatically ## restarts the pods if liveness checks fail.