Appearance
Yellowbrick Manager on Azure
To find the hostname (DNS name) or IP address associated with the load balancer for Yellowbrick Manager in Azure, you can use either the Azure CLI or Azure Portal. This guide will help you quickly locate this information based on specific tags associated with your load balancer.
Prerequisites
- Ensure you have the Azure CLI installed and configured with appropriate permissions.
- Access to the Portal.
Option 1: Using Azure CLI
Follow these steps to retrieve the DNS name or IP address using the Azure CLI.
Filter Load Balancers by Tags
Use the following command to filter load balancers based on tags associated with Yellowbrick Manager. Replace RESOURCE_GROUP with your Azure resource group.
bashaz network lb list --resource-group RESOURCE_GROUP --query "[?tags.kubernetes_io_service_name && contains(tags.kubernetes_io_service_name, 'yb-manager')]"
This command will return a list of load balancers that match any of the specified tags.
Retrieve the DNS Name
Once you have identified the load balancer, you can get its frontend IP configuration details, which includes the DNS name or IP address:
bashaz network lb show --resource-group RESOURCE_GROUP --name LOAD_BALANCER_NAME --query "frontendIPConfigurations[].dnsSettings.fqdn"
If you need an IP address, modify the query to:
bashaz network lb show --resource-group RESOURCE_GROUP --name LOAD_BALANCER_NAME --query "frontendIPConfigurations[].privateIPAddress"
Option 2: Using Azure Portal
Alternatively, you can use the Azure Management Console to find the hostname or IP address.
- Access Load Balancers
Log in to the Azure Portal and navigate to "Load Balancers" under the "Networking" section.
- Filter Load Balancers by Tags
In the Load Balancers list, use the search box or "Tags" filter to find load balancers associated with Yellowbrick Manager. Use any of the following tags:
Tag | 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 load balancer, click on it to view its details. Under "Settings," navigate to "Frontend IP configurations" to locate the DNS name or IP address.