Problem:
Kubernetes nodes and hosts are not connected correctly.
Solution:
This could happen if every node in the cluster has an identical machineId, which should be a unique identifier for k8s nodes.
Kubernetes API does not provide the mac address. We have to use the machine-id. Furthermore, machine-id's are intended to be unique - not just for Instana, but for everything. Every host needs a unique machine-id in the same way that they need unique IP Addresses, mac addresses, etc. Please see:
- https://v1-8.docs.kubernetes.io/docs/api-reference/v1.8/#nodespec-v1-core
- http://man7.org/linux/man-pages/man5/machine-id.5.html
- https://outcrawl.com/generating-unique-ids-kubernetes/
We recommend that you fix your deployment scripts to generate unique machine-id's in order to resolve this issue.
Comments