The contrail-tools container provides a centralized location for all
available Tungsten Fabric tools and CLI commands. The container includes such
utilities as vif, flow, nh, and other tools
to debug network issues. MOSK deploys contrail-tools
using the Tungsten Fabric Operator through the TFOperator custom resource.
To enable the Tungsten Fabric contrail-tools Deployment:
Enable the tools Deployment in the TFOperator resource for the
operator to start the Pods with utilities to debug Tungsten Fabric on
nodes with the tfvrouter:enabled label:
Use the labels section to specify target nodes for
the contrail-tools Deployment. If the labels section
is not specified, the tf-tool-ctools-<xxxxx> Pods
will be scheduled to all available nodes in current Deployment.
Wait until the tf-tool-ctools-<xxxxx> Pods are ready in the tf
namespace.
Note
The <xxxxx> string in a Pod name consists of random
alpha-numeric symbols generated by Kubernetes to differentiate the
tf-tool-ctools Pods.
Use interactive shell in the tf-tool-ctools-<xxxxx> Pod to debug
current Deployment or run commands through kubectl, for example: