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:/root/.docker: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 <TCSA_WORK_SPACE>/tcx-deployer. You can view the contents of the tcx-deployer as shown in the following snippet:
    $ ls -ltr tcx-deployer/
    total 16
    drwxr-xr-x 2 root root    67 Apr 20 05:40 images
    drwxr-xr-x 4 root root    40 Apr 20 05:40 imgpkg
    -rw-r--r-- 1 root root 10588 Apr 20 05:46 VMware-TCSA-Deployer-<VERSION>-<BUILD_ID>_metadata.yaml
    -rw-r--r-- 1 root root   222 Apr 20 05:47 bundle
    drwxr-xr-x 3 root root    19 Apr 20 05:47 product-helm-charts
    drwxr-xr-x 7 root root   231 Apr 20 10:10 scripts

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

What to do next

After you launch the Deployment Container, you must trigger the deployment. For more information, see Trigger Deployment Using the Installation Script.