@@ -1233,30 +1233,34 @@ Then, run the following command to deploy TeraFlowSDN controller on top of the M
...
@@ -1233,30 +1233,34 @@ Then, run the following command to deploy TeraFlowSDN controller on top of the M
source my_deploy.sh
source my_deploy.sh
./deploy/all.sh
./deploy/all.sh
</code></pre>
</code></pre>
<p>The script performs the following steps:
<p>The script performs the following steps:</p>
- Executes script <code>./deploy/crdb.sh</code> to automate deployment of CockroachDB database used by Context component.
<ul>
- The script automatically checks if CockroachDB is already deployed.
<li>Executes script <code>./deploy/crdb.sh</code> to automate deployment of CockroachDB database used by Context component.</li>
- If there are settings instructing to drop the database and/or redeploy CockroachDB, it does the appropriate actions to honor them as defined in previous section.
<li>The script automatically checks if CockroachDB is already deployed.</li>
- Executes script <code>./deploy/nats.sh</code> to automate deployment of NATS message broker used by Context component.
<li>If there are settings instructing to drop the database and/or redeploy CockroachDB, it does the appropriate actions to honor them as defined in previous section.</li>
- The script automatically checks if NATS is already deployed.
<li>Executes script <code>./deploy/nats.sh</code> to automate deployment of NATS message broker used by Context component.</li>
- If there are settings instructing to redeploy the message broker, it does the appropriate actions to honor them as defined in previous section.
<li>The script automatically checks if NATS is already deployed.</li>
- Executes script <code>./deploy/qdb.sh</code> to automate deployment of QuestDB timeseries database used by Monitoring component.
<li>If there are settings instructing to redeploy the message broker, it does the appropriate actions to honor them as defined in previous section.</li>
- The script automatically checks if QuestDB is already deployed.
<li>Executes script <code>./deploy/qdb.sh</code> to automate deployment of QuestDB timeseries database used by Monitoring component.</li>
- If there are settings instructing to redeploy the timeseries database, it does the appropriate actions to honor them as defined in previous section.
<li>The script automatically checks if QuestDB is already deployed.</li>
- Executes script <code>./deploy/tfs.sh</code> to automate deployment of TeraFlowSDN.
<li>If there are settings instructing to redeploy the timeseries database, it does the appropriate actions to honor them as defined in previous section.</li>
- Creates the namespace defined in <code>TFS_K8S_NAMESPACE</code>
<li>Executes script <code>./deploy/tfs.sh</code> to automate deployment of TeraFlowSDN.</li>
- Creates secrets for CockroachDB, NATS, and QuestDB to be used by Context and Monitoring components.
<li>Creates the namespace defined in <code>TFS_K8S_NAMESPACE</code></li>
- Builds the Docker images for the components defined in <code>TFS_COMPONENTS</code>
<li>Creates secrets for CockroachDB, NATS, and QuestDB to be used by Context and Monitoring components.</li>
- Tags the Docker images with the value of <code>TFS_IMAGE_TAG</code>
<li>Builds the Docker images for the components defined in <code>TFS_COMPONENTS</code></li>
- Pushes the Docker images to the repository defined in <code>TFS_REGISTRY_IMAGE</code>
<li>Tags the Docker images with the value of <code>TFS_IMAGE_TAG</code></li>
- Deploys the components defined in <code>TFS_COMPONENTS</code>
<li>Pushes the Docker images to the repository defined in <code>TFS_REGISTRY_IMAGE</code></li>
- Creates the file <code>tfs_runtime_env_vars.sh</code> with the environment variables for the components defined in <code>TFS_COMPONENTS</code> defining their local host addresses and their port numbers.
<li>Deploys the components defined in <code>TFS_COMPONENTS</code></li>
- Applies extra manifests defined in <code>TFS_EXTRA_MANIFESTS</code> such as:
<li>Creates the file <code>tfs_runtime_env_vars.sh</code> with the environment variables for the components defined in <code>TFS_COMPONENTS</code> defining their local host addresses and their port numbers.</li>
- Creating an ingress controller listening at port 80 for HTTP connections to enable external access to the TeraFlowSDN WebUI, Grafana Dashboards, and Compute NBI interfaces.
<li>Applies extra manifests defined in <code>TFS_EXTRA_MANIFESTS</code> such as:<ul>
- Deploying service monitors to enable monitoring the performance of the components, device drivers and service handlers.
<li>Creating an ingress controller listening at port 80 for HTTP connections to enable external access to the TeraFlowSDN WebUI, Grafana Dashboards, and Compute NBI interfaces.</li>
- Initialize and configure the Grafana dashboards (if Monitoring component is deployed)
<li>Deploying service monitors to enable monitoring the performance of the components, device drivers and service handlers.</li>
- Report a summary of the deployment
</ul>
- See <ahref="./1.5.-Show-Deployment-and-Logs">Show Deployment and Logs</a></p>
</li>
<li>Initialize and configure the Grafana dashboards (if Monitoring component is deployed)</li>
<li>Report a summary of the deployment</li>
<li>See <ahref="./1.5.-Show-Deployment-and-Logs">Show Deployment and Logs</a></li>
</ul>
<h2id="14-webui-and-grafana-dashboards"><strong>1.4. WebUI and Grafana Dashboards</strong></h2>
<h2id="14-webui-and-grafana-dashboards"><strong>1.4. WebUI and Grafana Dashboards</strong></h2>
<h2id="15-show-deployment-and-logs"><strong>1.5. Show Deployment and Logs</strong></h2>
<h2id="15-show-deployment-and-logs"><strong>1.5. Show Deployment and Logs</strong></h2>