GithubHelp home page GithubHelp logo

Make addon official about ddev-minio HOT 18 OPEN

seebeen avatar seebeen commented on July 18, 2024
Make addon official

from ddev-minio.

Comments (18)

tyler36 avatar tyler36 commented on July 18, 2024 2

I'm using Docker Desktop and running DDEV in WSL2 currently.
DD says "You are using the WSL 2 backend, so resource limits are managed by Windows."

I have .wslconfig set limit CPU to 2:

[wsl2]
processors=2 # Makes the WSL 2 VM use two virtual processors

I guess I can play around with that later.

from ddev-minio.

stasadev avatar stasadev commented on July 18, 2024 2

I will review this add-on next week.

Error response from daemon: Range of CPUs is from 0.01 to 2.00, as there are only 2 CPUs available

Capping it to below 2 CPUs will make it unusable.

I guess the 2.5 doesn't work for everybody.

I checked and 1.99 can be used instead 🙂

from ddev-minio.

rfay avatar rfay commented on July 18, 2024 1

/cc @stasadev - I guess the 2.5 doesn't work for everybody.

from ddev-minio.

rfay avatar rfay commented on July 18, 2024

Thanks for your work on this.

Just a casual look around... it doesn't seem like the tests run on several different situations. For example, the most recent commit didn't run tests, https://github.com/oblakstudio/ddev-minio/commits/master/ - Why is that? (I'm glad to see the daily tests will run now, but they haven't run automatically yet...)

Are you now subscribed to get notifications of test failures?

from ddev-minio.

rfay avatar rfay commented on July 18, 2024

@tyler36 @stasadev would you mind doing a review of this add-on before it becomes official? Thanks!

from ddev-minio.

tyler36 avatar tyler36 commented on July 18, 2024

Not sure if there's configuration I'm missing, but my project doesn't start:

DDEV: v1.23.0
ddev-minio: v2.0.2

Test

  1. Confirm DDEV project working
$ ddev start  
...
Project can be reached at https://30days-l11-demo.ddev.site https://127.0.0.1:52787 
  1. Install addon
$ ddev get oblakstudio/ddev-minio
...
Installed minio:v2.0.2 from oblakstudio/ddev-minio 
  1. Restart project
$ ddev restart
......Project images built in 6s. 
 Network ddev-30days-l11-demo_default  Created 
 Volume "ddev-30days-l11-demo-minio"  Created 
Error response from daemon: Range of CPUs is from 0.01 to 2.00, as there are only 2 CPUs available 

from ddev-minio.

rfay avatar rfay commented on July 18, 2024

@tyler36 you can probably fix this just by changing your docker cpu reservation to something higher than the default 2 I guess? I bet your machine has plenty of threads available.

from ddev-minio.

seebeen avatar seebeen commented on July 18, 2024

Running MinIO without any limits can cause it to takeover the entire CPU because it's both CPU and memory hungry. Capping it to below 2 CPUs will make it unusable. I'm assuming that anyone who uses docker has more than 2 CPU cores at their disposal.

from ddev-minio.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.