Add Device Agent on Kubernetes documentation#6762
Conversation
closes #6578 Describes 2 deployment options
|
I thought about placing manifests in the device agent repo, in the |
|
I might just change them to But yeah, they should probably end up in there as well |
|
@hardillb please check my changes. Merge the PR anytime. |
|
I am still reviewing 😇 |
| labels: | ||
| app: device-one | ||
| spec: | ||
| replicas: 1 |
There was a problem hiding this comment.
Since this deployment uses a single pvc and provisioning token, should we explicitly note that this example assumes one device agent per deployment and should not be scaled beyond one replica?
There was a problem hiding this comment.
We could add a note that horizontal scaling requires using a StatefulSet
| initContainers: | ||
| - name: config-copy | ||
| image: busybox:latest | ||
| command: |
There was a problem hiding this comment.
since this initContainer only copies the file if it does not already exist, should we add a short note explaining that the provisioning configuration is only applied on first start and that subsequent restarts preserve the existing device.yml on the pvc?
| - ReadWriteOnce | ||
| resources: | ||
| requests: | ||
| storage: 1Gi |
There was a problem hiding this comment.
this assumes the cluster has a default StorageClass. Should we add a brief note that users may need to set storageClassName depending on their Kubernetes setup, for example storageClassName: <your-storage-class>?
Also, should we mention what gets stored here (the updated device.yml and installed nodes) so users can size the pvc appropriately?
Co-authored-by: Jamie Strusz <[email protected]>
There was a problem hiding this comment.
I added a gpt suggested why/when if you care for it @hardillb. Otherwise it's looking good.
Co-authored-by: Jamie Strusz <[email protected]>


closes #6578
Description
Describes 2 deployment options
This is bare minimum docs, might need some more "why" language at the top...
Related Issue(s)
#6578
Checklist
flowforge.yml?FlowFuse/helmto update ConfigMap TemplateFlowFuse/CloudProjectto update values for Staging/ProductionLabels
area:migrationlabel