Skip to content

Error for centraldashboard: "azure" is not a supported platform for Metrics #194

@christian-heusel

Description

@christian-heusel

Checks

Kubeflow Version

1.10.0

Kubeflow Platform

Manifests + custom modifications

Kubernetes Distribution

AKS

Kubernetes Version

Client Version: v1.35.0
Server Version: v1.32.0

Description

I have a Kubeflow deployment running in Azure and get the following error for centraldashboard:

"azure" is not a supported platform for Metrics

This is most likely because the following code path does not implement something aside of gce:

export async function getMetricsService(k8sService: KubernetesService):
Promise<MetricsService>|null {
try {
const [platformInfo, nodes] = await Promise.all([
k8sService.getPlatformInfo(),
k8sService.getNodes(),
]);
const nodeNames = nodes.map((n) => n.metadata.name);
switch (platformInfo.providerName) {
case 'gce':
const projectId = platformInfo.provider.split('/')[2];
return new StackdriverMetricsService(
new MetricServiceClient(), projectId, nodeNames);
default:
console.warn(`"${
platformInfo
.providerName}" is not a supported platform for Metrics`);
}
} catch (err) {
console.error('Unable to retrieve information from cluster', err);
}
return null;
}

Relevant Logs

Initializing Kubernetes configuration                                                                                                                  Unable to fetch Application information: 404 page not found                                                                                            

"azure" is not a supported platform for Metrics                                                                                                        

Using Profiles service at http://profiles-kfam.kubeflow:8081/kfam                                                                                      
Server listening on port http://localhost:8082 (in production mode)                                                                                    
Unable to fetch Application information: 404 page not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugkind - things not working properlypriority/needs-triagepriority - needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions