tcxctl can be deployed in any of the following ways:
  1. tcxctl deploy core
  2. tcxctl deploy product

tcxctl deploy core

Deploys core tcx components, which is collection of three apps tcx-bootstrap, admin-operator, and kapp-controllertcxct.
tcxctl deploy core -r <registry> -u <username> -p <password> -c <ca.crt_full_path_if_any> --tag-file full_path_of_tag.yaml --kubeconfig <kubeconfig>
OR
docker login <registry> --compat-auth-file=/root/.docker/config.json
    tcxctl deploy core -r <registry> --tag-file <full_path_of_tag.yaml> --kubeconfig <kubeconfig>
If need to apply any settings to all core tcx apps ( tcx-bootstrap, admin-operator, and kapp-controllertcxct) then helm flags use:
 --set, --set-file or --values flags
tcxctl deploy core -r <registry> -u <username> -p <password> -c <ca.crt_full_path_if_any> --tag-file full_path_of_tag.yaml --kubeconfig <kubeconfig> --set foo=bar --set-file file.yaml -f values-foo.yaml
Core Apps details:
  • Tcx-Bootstrap includes:
    • TCxProduct CRDs
    • CRDs needed by kapp-controller
  • StorageClass based on Cloud includes:
    • Kubelet-pull-secret
    • ServiceAccount
    • Admin-operator
    • Kapp-Controller
tcxctl deploy core:
tcxctl deploy core --kubeconfig <your-kubeconfig-location> --tag-file $TCSA_WORK_SPACE/tcx-deployer/scripts/imgpkg_tags.yaml --registry <harbor-registry-fqdn>/<project-name> --registry-password <your-registry-password> --registry-username <registry-username> --registry-cert <path-to-your-registry-ca-certificate-file>

tcxctl deploy or redeploy product

You can use the following command either to deploy or redeploy the product chart as a Helm release. It uses the Helm SDK to deploy the chart contents. It is not mandatory to use this command to deploy the Helm chart. The helm CLI or other higher-order tools that understand Helm charts like CloudFormation or VMware Telco Cloud Automation can be used.
tcxctl deploy product --name <product name> --kubeconfig <your-kubeconfig-location> --registry <harbor-registry-fqdn>/<project-name> --registry-password <REGISTRY PASSWORD> --registry-username <REGISTRY USERNAME> --registry-cert <path-to-your-registry-ca-certificate-file> --timeout <timeout in minutes> --path $TCSA_WORK_SPACE/tcx-deployer/product-helm-charts/tcsa -f ${TCSA_WORK_SPACE}/tcx-deployer/product-helm-charts/tcsa/values-user-overrides.yaml
Example for TPS product deployment or redeployment
tcxctl deploy product --name tps --registry <harbor-registry-fqdn>/<project-name> --kubeconfig /root/.kube/config --path ${TCSA_WORK_SPACE}/tcx-deployer/product-helm-charts/tps -f ${TCSA_WORK_SPACE}/tcx-deployer/product-helm-charts/tps/tcsa/values.yaml -f ${TCSA_WORK_SPACE}/tcx-deployer/product-helm-charts/tcsa/values-user-overrides.yaml  --timeout 30
Example for VMware Telco Cloud Service Assurance product deployment or redeployment
tcxctl deploy product --name tcsa --registry <harbor-registry-fqdn>/<project-name> --timeout 30 --kubeconfig /root/.kube/config --path ${TCSA_WORK_SPACE}/tcx-deployer/product-helm-charts/tcsa -f ${TCSA_WORK_SPACE}/tcx-deployer/product-helm-charts/tcsa/values-user-overrides.yaml