This section provides instructions to launch the Deployment Container.

Procedure

  1. To launch and log in to the Deployment Container, run the following commands and set the environment variables as shown in the following snippet:
    docker run \
        --rm \
        -v ${TCSA_WORK_SPACE}/tcx-deployer:/root/tcx-deployer \
        -v $HOME/.ssh:/root/.ssh \
        -v $HOME/.kube:/root/.kube \
        -v /var/run/docker.sock:/var/run/docker.sock \
        -v $(which docker):/usr/local/bin/docker:ro \
        -v $HOME/.docker/config.json:/root/.docker/config.json:ro \
        -v /etc/docker:/etc/docker:rw \
        --network host \
        -it $DEPLOYMENT_IMAGE \
        bash
  2. Verify if you can access the Kubernetes cluster from the container.
    $ kubectl get nodes
  3. After you have logged in to the Deployment Container, go to the deployer path /root/tcx-deployer. You can view the contents of the /root/tcx-deployer as shown in the following snippet:
    -rwxr-xr-x. 1 root root       165 Jan  1  2000  release
    drwxr-xr-x. 4 root root        30 Jan  1  2000  product-helm-charts
    -rwxr-xr-x. 1 root root 150835154 Jan  1  2000 'open_source_license_VMware_Telco_Cloud_ Service_Assurance_2.1.0_GA_Updated.txt'
    -rwxr-xr-x. 1 root root     28401 Jan  1  2000  May2022-VMwareGeneralTerms-en-noWrap.txt
    drwxr-xr-x. 4 root root        40 Jan  1  2000  imgpkg
    drwxr-xr-x. 2 root root        96 Jan  1  2000  images
    dr-xr-xr-x. 4 root root        65 Jan  1  2000  examples
    drwxr-xr-x. 2 root root        72 Jan  1  2000  csars
    drwxr-xr-x. 4 root root       175 Dec 19 21:22  scripts

    If you cannot view the contents of /root/tcx-deployer, then exit the Deployment Container and rerun the docker run command from Step 1.

    Note: After the Deployment Container is started, you can use the following directory path to access the VMware General Terms and the Open Source license files, which are also available as part of the container.
    # cd /opt/vmware 
    # tar -xzvf tcsa-osl-eula.tar.gz 
    # ls 
     May2022-VMwareGeneralTerms-en-noWrap.txt                                   tcsa-osl-eula.tar.gz
    'open_source_license_VMware_Telco_Cloud_ Service_ Assurance_2.1.0_GA.txt'