Skip to content

Configure a full status checker for installations #9195

@mrsimonemms

Description

@mrsimonemms

This ticket covers two related problems we have with the KOTS status informers.

  1. We make use of DaemonSets and there's no support for this (yet). See [Slac] discussion](https://gitpod.slack.com/archives/C02SWJ49JQ2/p1643651665487759)
  2. As we're using the Installer to generate the manifests, the status won't be correctly reflected in updates.

To explain 2 further, consider the workflow. For an installation, the statusInformers will report the status correctly as they will either be healthy or not. For an upgrade, they don't because, as far as KOTS is concerned, the resources exist.

Proposed solution

  1. Add a randomly generated annotation/label for all Installer resources. This will be the same for all resources.
  2. Create an application that is able to search for the existence of a resource INCLUDING the annotation/label
  3. Add this new deployment to the list of statusInformers

Resources to support

Resource in italics are not currently supported by KOTS statusInformers

  • deployment
  • daemonset
  • statefulset
  • service

Other considerations

There may already be an open source application which does this. If so, this becomes an implementation ticket. If not, this could be a candidate for a future project separate from the Gitpod application.

Metadata

Metadata

Assignees

Labels

team: deliveryIssue belongs to the self-hosted team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions