This section details how to install VMware Cloud Director Container Service Extension software.
Procedure
- Install python 3.7.3+, 3.8.x, 3.9.x or 3.10.x.
Note:
PhotonOS 3 supports only python 3.7, while PhotonOS 4 supports only python 3.10.
Note:
One of the libraries that VMware Cloud Director Container Service Extension depends on (viz. lru-dict) needs the following python packages:
PhotonOS essentials for python to work with CSE
-----------------------------------------------
tdnf update
tdnf install build-essential
tdnf install python3-devel
Ubuntu OS essentials for python to work with CSE
------------------------------------------------
# x = the minor version of python 3
sudo apt install python3.x-dev
If these packages are missing, VMware Cloud Director Container Service Extension installation fails with the following error:
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- Open Command Prompt and verify Python's package manager, Pip, is present and updated to the latest version:
python -m ensurepip --upgrade
- Verify Python and Pip installation:
$ python3 --version
Python 3.7.3
$ pip3 --version
pip 21.2.4 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
- Install and verify VMware Cloud Director Container Service Extension:
$ pip3 install container-service-extension
...
$ cse version
CSE, Container Service Extension for VMware vCloud Director, version 3.1.4
Results
You have now installed VMware Cloud Director Container Service Extension software.