Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Now, the MOSK documentation set covers all product layers, including MOSK management (formerly Container Cloud). This means everything you need is in one place. Some legacy names may remain in the code and documentation and will be updated in future releases. The separate Container Cloud documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
Enable contrail-tools¶
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
toolsDeployment in theTFOperatorresource for the operator to start the Pods with utilities to debug Tungsten Fabric on nodes with thetfvrouter:enabledlabel:spec: features: tfTools: tfToolsEnabled: true labels: tfvrouter: enabled
Note
Use the
labelssection to specify target nodes for thecontrail-toolsDeployment. If thelabelssection is not specified, thetf-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 thetfnamespace.Note
The
<xxxxx>string in a Pod name consists of random alpha-numeric symbols generated by Kubernetes to differentiate thetf-tool-ctoolsPods.Use interactive shell in the
tf-tool-ctools-<xxxxx>Pod to debug current Deployment or run commands throughkubectl, for example:kubectl -n tf exec tf-tool-ctools-<xxxxx> -- vif --list
Disable the
toolsDeployment:kubectl -n tf patch tfoperator.tf.mirantis.com <TFOperator CR name> --type='json' -p='[{"op": "replace", "path": "/spec/features/tfTools/tfToolsEnabled", "value": false}]'