-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes environment where plgd-hub was tested #1123
Comments
We have tested it on GCP, AWS, and microk8s.
plgd-hub has been tested with 10k devices on 3 nodes, also on raspberry pi4 8GB RAM with 1k cloud_servers. For https://try.plgd.cloud, it is running on microk8s.
Through the environment variable FQDN, you can set the IP or domain where the hub is running.
For example, we have a pipeline that runs a runner with plgd-hub/bundle, and you can onboard devices there. (After approximately 30 minutes, the runner is terminated).
I temporarily moved the api-s domains because we exceeded Let's Encrypt limits. However, I have now fixed it and moved it back. If you follow the remote-access documentation, it should work. |
@jkralik Thanks for your very quick comment. I'm going to create several VODs (Virtual OCF Devices on Android app) that are mapped to physical ZigBee devices, and I want to register them in And as mentioned above, I am trying to install plgd-hub by creating a single control plane node using the official Kubernetes binary and Flannel CNI, but it does not work because of an error when running the plgd pod. At this point, would it be a good idea to build it using microk8s the way you did? Of course, the error may be a problem with Kubernetes settings or not.
|
For each VOD, it must have its own cloud configuration resource. Have you ported the changes to the master branch? What we tested is similar, but it's not VOD. We ran a cloud server with multiple devices:
You need to properly set up Kubernetes, and an easy way to do it is to use MicroK8s with the steps described here. |
@jkralik
I am trying to install
plgd-hub
to run on a single machine. I tried installing the official Kubernetes binaries (kubeadm, kubectl, kubelet
), but I am having trouble proceeding due to some errors.My deployment environment:
So, in order to get help distributing
plgd-hub
, I have the following questions and need some advices.Q1. In what Kubernetes environments can plgd-hub operate? In which Kubernetes environment has this github source been tested? What is the recommended Kubernetes environment?
e.g. minikube, k3s, kind, microk8s, official k8s (kubeadm) etc.
Q2. Has plgd-hub been tested on both single node (control plane node) or multi node? In what Kubernetes environment is try.plgd.cloud currently running?
Q3. Is device onboarding possible remotely using
plgd-hub/bundle
?Q4. I tried to onboard the device I built in
try.plgd.cloud
with client-application, but when I connect tolocalhost:3000
in web browser, infinite loading occurs. Does anyone else have any problems?The text was updated successfully, but these errors were encountered: