edgeapps
edgeapps copied to clipboard
Smart-City-Application Onboarding on Network Edge OpenNESS 20.06
Hi @amr-mokhtar
Smart-City-Application has been installed successfully on Network Edge OpenNESS 20.06 using below links as a reference.
https://www.openness.org/docs/doc/applications-onboard/network-edge-applications-onboarding https://github.com/OpenVisualCloud/Smart-City-Sample/tree/openness-k8s/deployment/openness
but on cloud-web GUI, i am not able to see any cameras.
i appreciate if you help me to find out the issue.
pods screenshot:
svc screenshot:
cloud-web GUI screenshot:
HI @amr-mokhtar can you please help me on my issue
@ishanVshah did you delete the network policies existing in default namespace? To get the network policies, use this command:
kubectl get netpol
yes @amr-mokhtar
What is the printout of this command?
kubectl get pods -A -o wide
Also,
kubectl get nodes --show-labels
Is firewall enabled on the worker or the client-sim nodes?
Hi @amr-mokhtar
please find attached output of said commands and firewall is disabled on all worker nodes and client-sim.
I see that you've deployed Multus with Calico & kube-ovn. This configuration was not tested with Smart City App. Therefore, I suggest that you start with deploying OpenNESS with kube-ovn only as the kubernetes CNI as a starting point to get familiar with the smart city app.
Also, I will be interested to test the inter-pod communication. This can be done by deploying the dns test pod as in this guide. Then try the following:
kubectl exec -it dnsutils -- curl http://db-service:9200
Hi @ishanVshah, Did you have the chance to see my previous comment and test the proposed configuration?
Hi @amr-mokhtar i can't do it as of now because multiple testing is going on parellaly.
please take note that our primary network is kube-ovn
Hi @amr-mokhtar
please note that we have not a seperate machine for camera simulator and kubernetes based cloud cluster.
is there any possibility to run Smart-City-Application on 3 node OpenNESS Network Edge cluster ?
OpenNESS 20.06 Network Edge cluster installed on below nodes. master worker1 worker2
below command executes on machines separated by new line.
#make start_openness_camera worker1 worker2
#make start_openness_cloud master
#make make start_openness_office master
If you'd like to deploy Smart City App is described in the onboarding guide (https://www.openness.org/docs/doc/applications-onboard/network-edge-applications-onboarding#onboarding-smart-city-sample-application), the minimum you should have is 5 machines; where the camera-sim apps can be running on the cloud-worker node.
Hi @amr-mokhtar
As per the diagram 3 nodes cluster is for openness network edge cluster (openness office) and 2 node cluster is for cloud cluster. So, total 5 nodes are required. But what about client simulator ?
Camera simulator is working as a docker container so, should we run camera setup inside with any cloud and office cluster or camera sim required a separate machine ?
Camera simulator is working as a docker container so, should we run camera setup inside with any cloud and office cluster or camera sim required a separate machine ?
They can run on the "cloud worker" machine.