codewind icon indicating copy to clipboard operation
codewind copied to clipboard

PFE-Deploy: Use watch API for resources and add redeploy command

Open johnmcollier opened this issue 5 years ago • 0 comments

Once https://github.com/eclipse/codewind-che-plugin/pull/31 has been merged, we need to look at two sets of changes that couldn't make it into that PR for the Golang pfe-deploy utility:

  • Use the client-go watch API to wait for the Codewind pods to successfully come up and be ready
    • Should have a somewhat generous timeout, we used 5 minutes in the past, and that should be enough
    • Will help with problem determination if PFE ever fails to come up, can use this to then configure the nginx server to return an error
  • Implement a redeploy command to make it easy to redeploy Codewind with newer images, useful for development purposes.
    • Pieces of this are already in place (such as looking for environment variable overrides), but need to decide on a proper mechanism to update the deployments.

johnmcollier avatar Aug 12 '19 17:08 johnmcollier