Access Tanzu Developer Portal

This topic tells you how to access Tanzu Developer Portal by using one of the following methods:

  • Access with the LoadBalancer method (default)
  • Access with the shared Ingress method

Access with the LoadBalancer method (default)

  1. Verify that you specified the service_type for Tanzu Developer Portal in tap-values.yaml, as in this example:

    tap_gui:
      service_type: LoadBalancer
    
  2. Obtain the external IP address of your LoadBalancer by running:

    kubectl get svc -n tap-gui
    
  3. Access Tanzu Developer Portal by using the external IP address with the default port of 7000. It has the following form:

    http://EXTERNAL-IP:7000
    

    Where EXTERNAL-IP is the external IP address of your LoadBalancer.

Access with the shared Ingress method

The Ingress method of access for Tanzu Developer Portal uses the shared tanzu-system-ingress instance of Contour that is installed as part of the Profile installation.

  1. The Ingress method of access requires that you have a DNS host name that you can point at the External IP address of the envoy service that the shared tanzu-system-ingress uses. Retrieve this IP address by running:

    kubectl get service envoy -n tanzu-system-ingress
    

    This returns a value similar to this example:

    $ kubectl get service envoy -n tanzu-system-ingress
    NAME    TYPE           CLUSTER-IP     EXTERNAL-IP      PORT(S)                      AGE
    envoy   LoadBalancer   10.0.242.171   40.118.168.232   80:31389/TCP,443:31780/TCP   27h
    

    The IP address in the EXTERNAL-IP field is the one that you point a DNS host record to. Tanzu Developer Portal prepends tap-gui to your provided subdomain. This makes the final host name tap-gui.YOUR-SUBDOMAIN. You use this host name in the appropriate fields in the tap-values.yaml file mentioned later.

  2. Specify parameters in tap-values.yaml related to Ingress. For example:

    shared:
      ingress_domain: "example.com"
    
  3. Update your other host names in the tap_gui section of your tap-values.yaml with the new host name. For example:

    shared:
      ingress_domain: "example.com"
    
    tap_gui:
    # Existing tap-values.yaml above
      app_config:
        app:
          baseUrl: http://tap-gui.example.com # No port needed with Ingress
        integrations:
          github: # Other are integrations available
            - host: github.com
              token: GITHUB-TOKEN
        catalog:
          locations:
            - type: url
              target: https://GIT-CATALOG-URL/catalog-info.yaml
        backend:
          baseUrl: http://tap-gui.example.com # No port needed with Ingress
          cors:
            origin: http://tap-gui.example.com # No port needed with Ingress
    
  4. Update your package installation with your changed tap-values.yaml file by running:

    tanzu package installed update tap --package tap.tanzu.vmware.com --version VERSION-NUMBER \
    --values-file tap-values.yaml -n tap-install
    

    Where VERSION-NUMBER is your Tanzu Application Platform version. For example, 1.9.1.

  5. Use a web browser to access Tanzu Developer Portal at the host name that you provided.

check-circle-line exclamation-circle-line close-line
Scroll to top icon