hostname

package
v0.0.0-...-c4caace Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostname

func GetHostname(node v1.Node) (string, error)

GetHostname returns the hostname for a Kubernetes Node. This always uses the name known in Kubernetes for the node and the cluster name to build the hostname. The Agent Helm chart ensures that the same host name is set on the agent pods such that all data sources give the same hostname in Kubernetes installations.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL