FlowFuse / flowfuse

Build bespoke, flexible, and resilient manufacturing low-code applications with FlowFuse and Node-RED
https://flowfuse.com
Other
243 stars 59 forks source link

Update k8s driver to attach storage to instances #4003

Closed knolleary closed 20 hours ago

knolleary commented 3 weeks ago
### Tasks
- [x] Define configuration options for persistent storage (ff.yml)
- [ ] Update k8s driver to attach persistent storage to instances
hardillb commented 3 weeks ago

First thoughts on required configuration.

This should live under the driver -> options section in the flowforge.yml file.

That should work up to 1000 access points (Instances) per EFS filesystem.

We will need a seperate EFS filesystem per 1000

(https://github.com/kubernetes-sigs/aws-efs-csi-driver#createvolume-parameters)

hardillb commented 2 weeks ago

Assuming we get quotas to work, where should be configure the size?

Should it be at the driver level or the team type?

joepavitt commented 2 weeks ago

@hardillb any idea on a rough timeframe for when this would be ready?

hardillb commented 1 week ago

Aiming for end of the week

hardillb commented 1 week ago

OK, code is done for this, but I can't test it until I've finished writing the tool that will create new EFS filesystems to test along side it.

Plan is to deploy all this to the scaling cluster tomorrow and test it all before putting it up for Review.