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
-
Verify that you specified the
service_type
for Tanzu Developer Portal intap-values.yaml
, as in this example:tap_gui: service_type: LoadBalancer
-
Obtain the external IP address of your LoadBalancer by running:
kubectl get svc -n tap-gui
-
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.
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.
-
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 sharedtanzu-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 prependstap-gui
to your provided subdomain. This makes the final host nametap-gui.YOUR-SUBDOMAIN
. You use this host name in the appropriate fields in thetap-values.yaml
file mentioned later. -
Specify parameters in
tap-values.yaml
related to Ingress. For example:shared: ingress_domain: "example.com"
-
Update your other host names in the
tap_gui
section of yourtap-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
-
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,{{ vars.tap_version }}
. -
Use a web browser to access Tanzu Developer Portal at the host name that you provided.