You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/03/16 15:59:17 UTC
[GitHub] [skywalking] duffqiu commented on issue #4520: Enhanced Agent
Hostname detection function
duffqiu commented on issue #4520: Enhanced Agent Hostname detection function
URL: https://github.com/apache/skywalking/issues/4520#issuecomment-599616989
in aliababa cloud's k8s container service ACK, the pod name and its real ip will be append in /etc/hosts file
here is an example:
[root@pod-centos /]# cat /etc/hosts
# Kubernetes-managed hosts file.
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
fe00::0 ip6-mcastprefix
fe00::1 ip6-allnodes
fe00::2 ip6-allrouters
192.168.0.247 pod-centos
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services