kubernetes-elastic-agents
kubernetes-elastic-agents copied to clipboard
Show Elastic Agent Starting state on agent status page
Issue Type
Bug Report
Summary
When kubernetes pod for the elastic agent is starting up (let's say pulling the image), accessing the agent status report page throws an error with message "ContainerCreating".
Possible Fix
Do not throw an error in case of the pending pod.
Show appropriate message depending on the state of the pod. Example: Starting Elastic Agent..
Agree, This requires little effort to identify the current state of the container. It varies from plugin to plugin. We already have placeholder issue on k8s plugin https://github.com/gocd/kubernetes-elastic-agents/issues/19.
Usecases
- [ ] 1. Identify create container request is not processed.
- [ ] 2. Container create request is processed but the container is not created yet(e.g. pulling a docker image).
- [ ] 3. The job is finished and the container is deleted. This will be little tricky and we cannot identify the difference between this and usecase-1.
