zalando-zmon / zmon-agent-core

ZMON Kubernetes Agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add cluster alias entity to kubernetes zmon-agent.

mikkeloscar opened this issue · comments

We introduced an alias for the clusters in the cluster registry e.g. stups or teapot, so it's easier to identify what cluster we are talking about.

It would be helpful if the zmon-agent could add this field to the cluster entities so we can easily display the alias value in our zmon alerts.

If the agents supports an environment variable ZMON_AGENT_KUBERNETES_CLUSTER_ALIAS like https://github.com/zalando-incubator/kubernetes-on-aws/blob/dev/cluster/manifests/zmon-agent/deployment.yaml#L46 Then we can provide the alias value when provisioning a cluster.