Skip to content
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

[Tracking] Automatic Application Discovery #514

Closed
6 tasks done
thisthat opened this issue Dec 13, 2022 · 1 comment
Closed
6 tasks done

[Tracking] Automatic Application Discovery #514

thisthat opened this issue Dec 13, 2022 · 1 comment
Assignees
Labels
Milestone

Comments

@thisthat
Copy link
Member

thisthat commented Dec 13, 2022

Goal

Support KLT adoption by automatically discover the workloads that belongs to a specific application without requiring a KeptnApp.

Problem

In the case of a multi-service application, users need to create a KeptnApp CRD besided annotate their manifests with recommended labels or Keptn-specific labels.
If the KeptnApp CRD is not present, the pods are stuck waiting to be bound to a node.
This should not be the case and the KLT should be able to automatically infer the KeptnApp based on the labels.

Technical Details

The KLT should be able to work also without a KeptnApp CRD.
In this mode, the KLT has some limitations:

  • no App pre-flight checks
  • no App post-flight checks
  • no prevention of a wrong workload version being deployed

The inferred KeptnApp should then be stored in ETCD for future usages, e.g., rollback.

DoD

  • KLT runs in a passive mode and does not block any deployment
  • Observability is working out-of-the-box

Tasks

Preview Give feedback
  1. enhancement
    bacherfl
  2. enhancement
    bacherfl
  3. enhancement
    bacherfl
  4. enhancement
    bacherfl
  5. documentation enhancement
    StackScribe
  6. enhancement
    bacherfl
@thisthat thisthat added the epic label Dec 13, 2022
@thisthat thisthat added this to the 0.6 milestone Dec 13, 2022
@thisthat thisthat moved this to 🏗 Shaping in Keptn Lifecycle Toolkit Dec 13, 2022
@thisthat thisthat changed the title Automatic Application Discovery [Tracking] Automatic Application Discovery Dec 13, 2022
@thisthat thisthat self-assigned this Dec 13, 2022
@odubajDT
Copy link
Contributor

odubajDT commented Dec 13, 2022

open questions:

  • what if another deployment/pod/RS/DS/SS with the same KeptnApp name is deployed during the deployment of the application, should it be considered?
  • restartability of an application, should we allow the users to somehow restart the application? for example by adding/removing/updating some of the deployment/pod/RS/DS/SS with the referenced app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants