Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Wiki
Old
1. deployment guide
1.5. Show Deployment and Logs
Changes
Page history
New page
Templates
Clone repository
Updated documentation
authored
8 months ago
by
Lluis Gifre Renom
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
old/1.-Deployment-Guide/1.5.-Show-Deployment-and-Logs.md
+0
-0
0 additions, 0 deletions
old/1.-Deployment-Guide/1.5.-Show-Deployment-and-Logs.md
with
0 additions
and
0 deletions
old/1.-Deployment-Guide/1.5.-Show-Deployment-and-Logs.md
0 → 100644
View page @
60b43e8a
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.
## Report the deployment of the TFS controller
The summary report given at the end of the
[
Deploy TFS controller
](
./1.3.-Deploy-TeraFlowSDN#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.
## Report the log of a specific TFS controller component
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
```
This diff is collapsed.
Click to expand it.