Coder Social home page Coder Social logo

max_file_store unset in nats.conf about k8s HOT 4 CLOSED

r65535 avatar r65535 commented on June 11, 2024
max_file_store unset in nats.conf

from k8s.

Comments (4)

caleblloyd avatar caleblloyd commented on June 11, 2024

NATS Server should automatically detect the available disk size and set it to the default of Up to 1TB if available

https://docs.nats.io/running-a-nats-service/configuration#jetstream

Not setting the max size in the config should actually allow increasing the size of the PV and extending the FS Size, while the Volume Claim Template stays immutable.

In the logs on server startup, is JetStream reporting the correct file store size?

from k8s.

caleblloyd avatar caleblloyd commented on June 11, 2024

I think I see a problem - in 1.x beta we are mounting to /data/jetstream and the store dir is /data

So it looks like NATS Server is detecting the size of /data which is outside of the PVC mount

This is going to be a problem when upgrading from 0.x anyways, because in 0.x we are mounting to /data and the store dir is /data

I will submit a fix

from k8s.

caleblloyd avatar caleblloyd commented on June 11, 2024

1.0.0-beta.3 should fix!

from k8s.

r65535 avatar r65535 commented on June 11, 2024

Thanks again for the quick turn around - I'll migrate over to beta3 today! 🚀

from k8s.

Related Issues (20)

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.