New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show error when using invalid pod spec #76
Comments
I think this should be done across elastic agent plugins, and not just for this. But, it is a valid problem. /cc @prateekbaheti @SanjanaB @sheroy Thoughts? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to create an agent with an invalid pod.yaml, GoCD only shows 'waiting for agent'. Checking the logs on the server, it shows
Without any indication as to what the problem is.
For example:
Should show the following error message which it would get from kubernetes, but this is not visible anywhere in GoCD.
A possible reason for this is that it seems to take kubernetes 30 secs to return the error (when using kubectl create -f pod.yaml) which is longer than the 10 second timeout in GoCD.
Kubernetes: v1.10.9-gke.0
GoCD: 18.6.0
Kubernetes Elastic Agent Plugin: 1.0.1
The text was updated successfully, but these errors were encountered: