Comments (4)
I've been wanting to do what you have done (move everything to k8s). Do you have some of you setup, configs, etc... you'd be willing share somewhere?
If I helps I have 2 copies of this project running using docker compose on different ports. So should work for k8s fine as you describe.
from ha-fusion.
I've been wanting to do what you have done (move everything to k8s). Do you have some of you setup, configs, etc... you'd be willing share somewhere?
If I helps I have 2 copies of this project running using docker compose on different ports. So should work for k8s fine as you describe.
Hey @disruptivepatternmaterial,
I can share a bit of what I've done, although it'll be a few days as I'm currently away from my cluster.
W.r.t. the two copies you're running, are they both sharing the same volume mount for their persistent config? Or do you have two separate volume mounts?
from ha-fusion.
I'm removing the kubernetes section, feel free to create a new repo with instructions and I'll link to that
1d90189
from ha-fusion.
Understood. I may just do that.
I am still curious about whether or not it's safe to have multiple concurrent processes accessing the data meant to be stored in that volume. It's less a Kubernetes specific question and more of an application design question. I can dig into the app myself and get this info, but I figure it's worth asking. Like, that volume is used for the dashboard configs, right? If so, then I'm guessing there's no sort of locking mechanism in place around reads and writes which would make concurrent access unsafe. That's totally fine, I just don't know if it's used for config or as a cache.
If it isn't safe, then I might try to implement some form of optional leader election. I've never written typescript so I don't know how easy or hard that would be or if you'd be willing to accept a PR for that, but it's something I've considered since I saw your comment yesterday.
from ha-fusion.
Related Issues (20)
- Mobile view optimization [MINOR FIX] HOT 1
- Addon won´t start HOT 2
- Issue with Hiding Header & Options HOT 8
- Translations HOT 2
- Background Image HOT 1
- Immediately switch toggle button on more info screen HOT 1
- HomeKit-like square object HOT 1
- Without internet icons are not load ! HOT 5
- Implementation of buttons for smart locks
- Maptiler API Key doesn't save HOT 2
- Dashboard Empty after 2024.5.2 HOT 11
- Weather forecast still disappears sometimes
- Conditional media (plex_recently_added) no posters HOT 6
- Change Defult Port
- Alarm panel card shows inactive modes HOT 1
- Conditional Display for Dashboard Entities HOT 1
- Adding a different state at conditional media HOT 1
- ReoLink never loads HOT 4
- Conditional Media Object - Allow for Removal of Info Bar at the Bottom
- Left/Right horizontal scrolling header on mobile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-fusion.