Coder Social home page Coder Social logo

Optional services about devops HOT 6 CLOSED

nmarcetic avatar nmarcetic commented on May 26, 2024
Optional services

from devops.

Comments (6)

blokovi avatar blokovi commented on May 26, 2024 2

Let's start with making non-core services optional. For now, that are influxdb reader & writer (and influxdb database itself). All non-core services we will add later should be optional also.
Influx services will be enabled with --set influxdb.enabled=true

from devops.

nmarcetic avatar nmarcetic commented on May 26, 2024 1

@blokovi Agree, that make sense. Not sure about UI, maybe is good idea to have it as part of Core (its not add-on, it's just in another repository). Although I think Mainflux should stay lightwate and client agnostic I think it would be good to run UI as part of Core in helm chart.

from devops.

blokovi avatar blokovi commented on May 26, 2024 1

I agree, umbrella charts sounds good. I have already make add-ons (influxdb and bootstrap) optional in PR #50 that will close this issue when it's merged. We will continue conversation about umbrella charts in new issue.

from devops.

nmarcetic avatar nmarcetic commented on May 26, 2024

@blokovi Great! I saw PR #50 Can we do the same for Twins (must-have) and OPC-UA (nice to have) later?

from devops.

blokovi avatar blokovi commented on May 26, 2024

On second thought, bootstrap and ui are also non-core, they must be optional also if we follow this rule, I will make them optional in PR #50
Twins and opcua are work-in-progress, and PR will be sent today, but that is another issue - #21

from devops.

nmarcetic avatar nmarcetic commented on May 26, 2024

@blokovi I am also thinking about chart dependencies and umbrella charts. Thing to think about in for #later or next stage of refactoring,

We can scope Core services and make mainflux/core chart as the main chart. Creat micro charts for each add-on that we have and mark them with a condition: optional, then import them in core chart. Each micro chart will have mainflux/core marked as a dependency (you can't run grafana add-on without core).
This way we will avoid hardcoded conditions like if/else in the chart, which grows all the time and will become hard to maintain.
We also get tagging and version management simpler.
People get install only core or upgrade only add-ons without touching core release. It's much more flexible.
It will be much easier to maintain and develop if we decouple it.
If you agree, maybe we can open an issue, market it as enhancement, and continue the conversation there?

from devops.

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.