Skip to content

✨ Adds a new decision record about the requirements when testing cluster-stacks - #321

Merged
jschoone merged 3 commits into
mainfrom
syself/adr-test-env
Dec 1, 2023
Merged

jschoone merged 3 commits into
mainfrom
syself/adr-test-env

Conversation

@batistein

Copy link
Copy Markdown
Contributor

This PR introduces a new decision record that presents an extensive discussion about the necessary requirements for testing cluster-stacks. The document lays out the motivations, design considerations, required features, and potential approaches for developing a robust and practical solution for testing cluster-stacks. It underscores the benefits and drawbacks of utilizing a local environment for testing and provides a thorough comparison between using Infrastructure as a Service (IaaS) providers and local environments.

The document proposes a shift from Docker-based testing to a virtual machine-based approach due to Docker's limitations in mimicking real-world production environments accurately. It also emphasizes the need for a detailed evaluation of these and possibly other tools to decide the best path forward.

By implementing this decision record, we aim to establish a foundation for evaluating a suitable solution for testing cluster-stacks. The end goal is to develop a testing environment that closely replicates real-world production scenarios, ensures tester accessibility, and provides reliable and robust test results.

Please review the document and provide your feedback, suggestions, or approval for this proposed change.

@batistein
batistein force-pushed the syself/adr-test-env branch 4 times, most recently from 16268f9 to 166b126 Compare July 26, 2023 10:01
@batistein
batistein force-pushed the syself/adr-test-env branch from 166b126 to 0cd3236 Compare July 26, 2023 10:03
@garloff garloff added Container Issues or pull requests relevant for Team 2: Container Infra and Tooling standards Issues / ADR / pull requests relevant for standardization & certification labels Aug 18, 2023

@fdobrovolny fdobrovolny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the great work.

I mostly agree with everything written.

However, I do have a few questions:

  1. On what level and to what extent do you plan to test Cluster stacks? Will it be a kind of unit test where any external dependencies are mocked, or do you plan to have a full integration test to be able to spawn locally in a virtual machine, a working OpenStack, and be able to spawn whole clusters, including add-ons locally?
  2. How do you plan to achieve offline testing, and to what degree do you plan to implement it? e.g., Do I need internet access for first use or not? Do you plan to cache locally node and container images for add-ons?
  3. Do you plan, as it is written only at the docker approach, to have any E2E or pipeline testing?
  4. Do you plan to support the development of provider-specific operators or any testing suite leveraging the IaaS providers?

Thank you.

@jschoone
jschoone merged commit bbde1d3 into main Dec 1, 2023
@jschoone
jschoone deleted the syself/adr-test-env branch December 1, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Container Issues or pull requests relevant for Team 2: Container Infra and Tooling standards Issues / ADR / pull requests relevant for standardization & certification

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants