This section details how to install VMware Cloud Director Container Service Extension software.

Procedure

  1. Install python 3.7.3+, 3.8.x, 3.9.x or 3.10.x.
    Note:

    For more information, see https://www.python.org or consult the vcd-cli install procedure.

    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
  2. Open Command Prompt and verify Python's package manager, Pip, is present and updated to the latest version:
    python -m ensurepip --upgrade
  3. 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)
  4. 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.