Skip to content

[Feat]: Detect and fill value for cloud_type automatically #145

@lis0x90

Description

@lis0x90

Is your feature request related to a problem? Please describe

Detect and fill cloud type value automatically in topology structure

Describe the solution you'd like

One possible way to detect cloud provider

bash# GKE nodes resolve this
nslookup metadata.google.internal > /dev/null 2>&1 && echo "GKE"

# EKS — pod's own hostname often contains ec2.internal
hostname -f | grep -q "ec2.internal" && echo "EKS"

# AKS — kubernetes service or node naming patterns
nslookup aks-metadata.azure.com > /dev/null 2>&1 && echo "AKS (possible)"

Describe alternatives you've considered

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions