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.
Configure multiple Contrail API workers¶
TechPreview
Tungsten Fabric MOSK deployments use six workers of the
contrail-api service by default. This section instructs you on how to
change the default configuration if needed.
To configure the number of Contrail API workers on a TF deployment:
Specify the required number of workers in the
TFOperatorcustom resource:spec: features: config: configApiWorkerCount: 7
Wait until all
tf-config-*pods are restarted.Verify the number of workers inside the running API container:
kubectl -n tf exec -ti tf-config-rclzq -c api -- ps aux --width 500 kubectl -n tf exec -ti tf-config-rclzq -c api -- ls /etc/contrail/
Verify that the ps output lists one API process with PID
"1"and the number of workers set in theTFOperatorcustom resource.In
/etc/contrail/, verify that the number of configuration filescontrail-api-X.confmatches the number of workers set in theTFOperatorcustom resource.