kubernetes-elastic-agents icon indicating copy to clipboard operation
kubernetes-elastic-agents copied to clipboard

Show Elastic Agent Starting state on agent status page

Open GaneshSPatil opened this issue 7 years ago • 1 comments

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..

GaneshSPatil avatar Jan 24 '18 04:01 GaneshSPatil

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.

screen shot 2018-02-16 at 5 43 17 pm

bdpiprava avatar Feb 21 '18 06:02 bdpiprava