Elastic Agent is no work #11154
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
The error should be pretty clear - The agent cannot find that server at that hostname from wherever it is running. If you relied on the "preconfigure" script as shown above without manually editing the cluster profile, you are probably creating agents in a different namespace to your server: https://github.com/gocd/kubernetes-elastic-agents/blob/master/docs/configure_cluster_profile.md By default, the Helm chart preconfigure sets gocd to create agents in the same namespace as the server, but in the above you seem to have manually changed the server to be in the So either
|
Beta Was this translation helpful? Give feedback.
-
By the way, How to customize go-agent,Do you have any documents? very thanks @chadlwilson |
Beta Was this translation helpful? Give feedback.
The error should be pretty clear -
UnknownHostException: gocd-server: Name or server not known
The agent cannot find that server at that hostname from wherever it is running. If you relied on the "preconfigure" script as shown above without manually editing the cluster profile, you are probably creating agents in a different namespace to your server: https://github.com/gocd/kubernetes-elastic-agents/blob/master/docs/configure_cluster_profile.md
By default, the Helm chart preconfigure sets gocd to create agents in the same namespace as the server, but in the above you seem to have manually changed the server to be in the
gocd
namespace, but the agent profile is being preconfigured todefault
…