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

test(mc): initial multicloud IaC boilerplate GKE, AKS, Kind #1268

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

SRodi
Copy link
Member

@SRodi SRodi commented Jan 24, 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 a Makefile for this subproject
  • create GH workflow with automated tests

diagram

Related Issue

#1267

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary.
  • 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

See automated tests here https://github.com/microsoft/retina/actions/runs/12952871303/job/36131206491

image

Additional Notes

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


Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

@SRodi SRodi self-assigned this Jan 24, 2025
@SRodi SRodi requested a review from a team as a code owner January 24, 2025 11:54

1. Docker installed on the host machine

## Quickstart
Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest creating sub-items under Quickstart for AKS/GKE/Kind and put all steps to create each of them in corresponding section. I think it's easier to read and follow. And a separate section for Cleanup/Destroy on same level as Quickstart

default_node_pool {
name = "agentpool"
node_count = 2
vm_size = "Standard_D4ds_v5"
Copy link
Contributor

Choose a reason for hiding this comment

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

can node_count and vm_size also be set with input variables? This would help setting up a broader range of test scenarios

load_balancer_profile {
managed_outbound_ip_count = 1
}
pod_cidr = "10.244.0.0/16"
Copy link
Contributor

Choose a reason for hiding this comment

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

can pod_cidr be settable? More IPs are needed for scale tests

vm_size = "Standard_D4ds_v5"
os_disk_size_gb = 128
os_disk_type = "Ephemeral"
max_pods = 110
Copy link
Contributor

Choose a reason for hiding this comment

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

can max_pods be set to 250?

@@ -0,0 +1,5 @@
variable "retina_version" {
Copy link
Contributor

Choose a reason for hiding this comment

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

is it possible to provide a path to a values.yaml file with desired override values to deploy?

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

Successfully merging this pull request may close these issues.

2 participants