Appearance
Yellowbrick Manager on GCP
To find the hostname (DNS name) or IP address associated with the load balancer for Yellowbrick Manager on GCP, you can use either the gcloud
CLI or the Google Cloud Console. This guide will help you quickly locate this information based on specific tags associated with your load balancer.
Prerequisites
- Ensure you have the
gcloud
CLI installed and configured with appropriate permissions. - Access to the Portal.
Option 1: Using gcloud
CLI
Follow these steps to retrieve the DNS name or IP address using the gcloud
CLI.
Filter Load Balancers by Labels
Use the following command to filter load balancers based on labels associated with Yellowbrick Manager. Replace
PROJECT_ID
with your GCP project ID.bashgcloud compute forwarding-rules list --project=PROJECT_ID --filter="labels.kubernetes_io_service_name:*yb-manager*"
This command will return a list of forwarding rules (equivalent to load balancers in GCP) that match any of the specified labels.
Retrieve the DNS Name
Once you have identified the forwarding rule, you can get its IP address:
bashgcloud compute forwarding-rules describe FORWARDING_RULE_NAME --region=REGION --project=PROJECT_ID --format="get(IPAddress)"
Replace
FORWARDING_RULE_NAME
with the name of your forwarding rule, andREGION
with the appropriate region.If you need the DNS name, you can perform a reverse lookup on the IP address using a tool like nslookup or dig.
Option 2: Using Google Cloud Console
Alternatively, you can use the Using Google Cloud Console to find the hostname or IP address.
- Access Load Balancers
Log in to the Google Cloud Console and navigate to "Network services" > "Load balancing."
- Filter Load Balancers by Tags
In the load balancer list, use the search box or filter options to find forwarding rules associated with Yellowbrick Manager. Use any of the following labels:
Label | Value |
---|---|
cluster_yellowbrick_io_owner | yb-install |
kubernetes_io_service_name | ${instanceName}/yb-manager-service |
- Identify the Hostname or IP Address
Once you've found the correct forwarding rule, click on it to view its details. The IP address will be displayed under the "Frontend" section.