Mission Control is a service running on the DAV network, and serving as a marketplace connecting DAV users, vehicles, and services.
- Find your requested build version from these Distributions
- The distributions are listed with following format:
davnn-[VERSION].json
- Connect the kubectl environment to your K8s cluster.
- Run just once for a DAVNN network
kubectl apply -f https://raw.githubusercontent.com/DAVFoundation/missioncontrol/master/k8s/dist/zookeeper-[VERSION].json
(Replace VERSION with any valid distribution version) - Run per DAVNN node cluster
kubectl apply -f https://raw.githubusercontent.com/DAVFoundation/missioncontrol/master/k8s/dist/davnn-[VERSION].json
(Replace VERSION with any valid distribution version) - Run just once for a DAVNN network:
kubectl exec -n davnn davnn-0 -c api -- bash -c "cqlsh -f schema/keyspace.cql"
kubectl exec -n davnn davnn-0 -c api -- bash -c "cqlsh -f schema/endpoints.cql"
kubectl exec -n davnn davnn-0 -c api -- bash -c "cqlsh -f schema/providers.cql"
The first thing you need to do is create and connect to a Kubernetes (K8S) cluster. This can be one of the various options:
- A local K8S deployment (e.g. via minikube)
- A GCP GKE Cluster
- A K8S Cluster deployed on AWS EC2 (e.g. using kops)
- An AWS EKS cluster
- You need to have a local install of kubectl configured to operate your cluster.
Open a terminal in the project folder and run:
make build
** This step should be done once per DAVNN cluster **
At this stage, DAVNN pods require a ZK cluster to run.
Open a terminal in the project folder and run:
make deploy-zookeeper
Wait until the ZK cluster is active.
Open a terminal in the project folder and run:
make deploy-davnn
Wait until your DAVNN pod is active.
** This step should be done once per DAVNN cluster **
Open a terminal in the project folder and run:
make deploy-schema
Sometimes it's easier to debug local scripts using a local proxy. To run a local proxy that connects to your deployed pod run the following:
make start-proxy
As an organization committed to extreme transparency, collaboration, and open-sourcing all of our work, we welcome participation from anyone willing to devote some time and energy to help shape DAV - whether you are a first-time contributor, a veteran open-sourcerer, or just looking to suggest some ideas.