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

Automated testing of management cluster apps #3708

Open
6 tasks
yulianedyalkova opened this issue Oct 7, 2024 · 0 comments
Open
6 tasks

Automated testing of management cluster apps #3708

yulianedyalkova opened this issue Oct 7, 2024 · 0 comments
Labels
area/kaas Mission: Cloud Native Platform - Self-driving Kubernetes as a Service team/tenet Team Tenet topic/testing

Comments

@yulianedyalkova
Copy link

yulianedyalkova commented Oct 7, 2024

Now that we have the tooling and infrastructure around WC apps, it's time adapt them for MC apps.

There are a few open questions before we can tackle that though:

  • How do we provide reliable and reusable MCs without increasing costs too much?
  • How do we deal with MCs and upgrade tests? Do we need to introduce releases for MCs?
  • Do we structure the tests in the same way we do for WCs? (separate validation test suite (meaning black box tests, no MC changes) and per app tests (white box, can modify the MC).

More context and internal team discussion from onsite in Morocco.

Current plan:

  • we create a pool of ephemeral MCs that are pre-configured and we can use for app testing
  • size of the pool of ephemeral MCs is easily configured
  • we always have at least one MC "pre-warmed" and available for app tests to instantly run on
  • when an app test suite is triggered, that automatically warms up a new one from the pool to ensure availability for next run (best effort)
  • there is a queuing mechanism for when demand is bigger that the pool of available MCs
  • after a test run finishes, it destroys the MC it ran on to ensure no test pollution
  • idea: prioritize runs triggered by individuals over bot ones (renovate etc)

Tasks

  1. area/kaas team/tenet topic/testing
    AverageMarcus
  2. area/kaas team/tenet topic/testing
@yulianedyalkova yulianedyalkova converted this from a draft issue Oct 7, 2024
@yulianedyalkova yulianedyalkova added area/kaas Mission: Cloud Native Platform - Self-driving Kubernetes as a Service topic/testing team/tenet Team Tenet labels Oct 7, 2024
@yulianedyalkova yulianedyalkova moved this from Inbox 📥 to In Progress ⛏️ in Roadmap Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kaas Mission: Cloud Native Platform - Self-driving Kubernetes as a Service team/tenet Team Tenet topic/testing
Projects
Status: In Progress ⛏️
Development

No branches or pull requests

1 participant