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

Retina multicloud #1267

Open
SRodi opened this issue Jan 24, 2025 · 1 comment
Open

Retina multicloud #1267

SRodi opened this issue Jan 24, 2025 · 1 comment
Assignees

Comments

@SRodi
Copy link
Member

SRodi commented Jan 24, 2025

Issue Description

Provide a streamlined approach deploy retina on multiple Kubernetes distributions. This will also allow to test Retina on multiple platforms.

Goal

Create an IaC sub-project to deploy multi-cloud clusters

  • GKE
  • EKS
  • Kind
  • ...

Definition of Done

A flow exist to create Kubernetes clusters on multiple cloud providers and deploy retina on it

@nddq
Copy link
Contributor

nddq commented Jan 24, 2025

related issue: #451
related PR: #667

github-merge-queue bot pushed a commit that referenced this issue Jan 28, 2025
# Description

Initial work on multi-cloud

* create modules for aks, gke, kind and retina
* use gcloud, azure, kind and helm providers
* create examples on how to use each module
* create automated tests in Go Terratest for each module example (only
initial work, since we require creds for public clouds)
* create integration test retina-kind (this can also be used as an
example for AKS, GKE and eventually EKS)
* create a Makefile for this subproject
* create GH workflow with automated tests


![diagram](https://github.com/user-attachments/assets/38ded8ec-0c31-4e5d-9bd0-8729115cf5b3)

## Related Issue

#1267 

## Checklist

- [x] I have read the [contributing
documentation](https://retina.sh/docs/contributing).
- [x] I signed and signed-off the commits (`git commit -S -s ...`). See
[this
documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
on signing commits.
- [x] I have correctly attributed the author(s) of the code.
- [x] I have tested the changes locally.
- [x] I have followed the project's style guidelines.
- [x] I have updated the documentation, if necessary.
- [x] I have added tests, if applicable.

## Screenshots (if applicable) or Testing Completed

All modules were tested and work as expected.

![Screenshot 2025-01-24 at 12 18
55](https://github.com/user-attachments/assets/2d222a13-2b12-4a11-a001-1b03a254e152)

See automated tests here
https://github.com/microsoft/retina/actions/runs/12993893617/job/36237118572


![image](https://github.com/user-attachments/assets/edafa98b-1d5d-44b0-a393-1bf7b7b70bda)



## Additional Notes

Add any additional notes or context about the pull request here.

---

Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more
information on how to contribute to this project.
github-merge-queue bot pushed a commit that referenced this issue Jan 30, 2025
# Description

* add fetchSensitiveOutputs function to override default logger to
prevent sensitive outputs from being logged
* add checkRetinaPodsRunning function to check if Retina pods are
running
* add make target for formatting both OpenTofu and go code
* modify make test target to run test ONLY for TestRetinaKindIntegration
till we get cloud creds
* refactor tests to use new func

## Related Issue

#1267 

## Checklist

- [x] I have read the [contributing
documentation](https://retina.sh/docs/contributing).
- [x] I signed and signed-off the commits (`git commit -S -s ...`). See
[this
documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
on signing commits.
- [x] I have correctly attributed the author(s) of the code.
- [x] I have tested the changes locally.
- [x] I have followed the project's style guidelines.
- [x] I have updated the documentation, if necessary.
- [x] I have added tests, if applicable.

## Screenshots (if applicable) or Testing Completed


![image](https://github.com/user-attachments/assets/fd711fa8-4064-4c57-87cc-2a7acc088f6f)

## Additional Notes

Add any additional notes or context about the pull request here.

---

Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more
information on how to contribute to this project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants