Newer
Older
This section presents some helper scripts to inspect the status of the deployment and
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.
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
```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
```