Skip to content
deployment_guide.md 43.5 KiB
Newer Older
the logs of the components.
These scripts are particularly helpful for troubleshooting during execution of 
experiments, development, and debugging.


<h3><u>Report the deployment of the TFS controller</h3></u>

The summary report given at the end of the [Deploy TFS controller](#deploy-tfs-controller)
procedure can be generated manually at any time by running the following command.
You can avoid sourcing `my_deploy.sh` if it has been already done.
```bash
cd ~/tfs-ctrl
source my_deploy.sh
./deploy/show.sh
```

Use this script to validate that all the pods, deployments, replica sets, ingress 
controller, etc. are ready and have the appropriate state, e.g., *running* for Pods, and 
the services are deployed and have appropriate IP addresses and port numbers.


<h3><u>Report the log of a specific TFS controller component</h3></u>

A number of scripts are pre-created in the `scripts` folder to facilitate the inspection 
of the component logs.
For instance, to dump the log of the Context component, run the following command.
You can avoid sourcing `my_deploy.sh` if it has been already done.

```bash
source my_deploy.sh
./scripts/show_logs_context.sh
```