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

Nightly "production like" testing #213

Closed
mjnagel opened this issue Mar 1, 2024 · 3 comments
Closed

Nightly "production like" testing #213

mjnagel opened this issue Mar 1, 2024 · 3 comments
Labels
ci Issues pertaining to CI / Pipelines / Testing enhancement New feature or request

Comments

@mjnagel
Copy link
Contributor

mjnagel commented Mar 1, 2024

Is your feature request related to a problem? Please describe.

Currently uds-core has CI smoke testing on k3d, with a "dev" setup (single replicas, single node, minimal external dependencies). When I deploy to my RKE2 or EKS cluster I don't have a good example of an HA setup and low confidence that has been tested before I deploy in my environment.

Describe the solution you'd like

Nightly CI tests against k8s distros, suggest targeting rke2 and eks, with a "production" bundle configuration used for CI testing only (not published).

Beyond just the basic deploy it would also be good to add more full e2e testing as part of this nightly deploy.

Describe alternatives you've considered

End users should have staging environments to test the deploy before they move to prod so this in theory isn't a high risk, but I think it's very valuable for us to test before cutting releases rather than relying on end users to test for us.

We could also run the testing on every PR, but that is likely not desirable since it slows down the fast feedback on PRs.

Additional context

We know of end users interested in RKE2 and EKS so that is part of the rationale for targeting those distros.

We also don't want to reproduce any testing that should be done upstream, so we likely should stick to cross-application functionality (i.e. hitting istio virtual services, SSO logic, etc).

@mjnagel mjnagel added the enhancement New feature or request label Mar 1, 2024
@TristanHoladay TristanHoladay self-assigned this Mar 12, 2024
@mjnagel mjnagel added the ci Issues pertaining to CI / Pipelines / Testing label Mar 28, 2024
TristanHoladay added a commit that referenced this issue Apr 3, 2024
## Description
Add EKS setup for deploying and testing uds-core.

## Related Issue
related to #213 

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request)
followed

---------

Co-authored-by: zamaz <71521611+zachariahmiller@users.noreply.github.com>
rjferguson21 pushed a commit that referenced this issue Jul 11, 2024
## Description
Add EKS setup for deploying and testing uds-core.

## Related Issue
related to #213 

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request)
followed

---------

Co-authored-by: zamaz <71521611+zachariahmiller@users.noreply.github.com>
@mjnagel
Copy link
Contributor Author

mjnagel commented Jul 26, 2024

Scoping the remaining work here:

  • Add an RKE2 nightly test (in AWS?)
  • Update nightly testing bundle to have HA configurations for all applications. A few noted gaps:
    • HA for Keycloak - multi replica + postgres (RDS)
    • Multi-replica Loki
  • Run validation scripts against deployed clusters: This may require some extra effort to ensure that endpoints are accessible

It may make sense to split out this work into multiple issues as each of these sub-bullets are probably issue-sized in themselves.

@mjnagel
Copy link
Contributor Author

mjnagel commented Sep 5, 2024

Intending to break this out into more bite sized tickets. Likely each of the above bullet points will be its own ticket.

@mjnagel
Copy link
Contributor Author

mjnagel commented Sep 5, 2024

Closing as the linked tickets provide more consumable chunks here.

@mjnagel mjnagel closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Issues pertaining to CI / Pipelines / Testing enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants