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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for EKS #13

Closed
wants to merge 2 commits into from
Closed

Add support for EKS #13

wants to merge 2 commits into from

Conversation

sweep-ai[bot]
Copy link

@sweep-ai sweep-ai bot commented Aug 22, 2023

Description

This PR adds support for EKS (Elastic Kubernetes Service) in the gorya compute unit scheduler. It modifies the scheduling logic to include EKS, adds the necessary configurations for EKS, and updates the API service to indicate EKS support.

Summary

  • Modified the internal/api/handler/schedule_task_v1alpha1.go file to include a new case in the scheduling logic for EKS. Implemented the logic to schedule compute units for EKS.
  • Created the internal/api/config/eks_config.go file to define a new struct EKSConfig to hold the EKS configurations. Added fields in the EKSConfig struct for necessary configurations such as cluster name, node group name, etc. Implemented a function to load the EKS configurations from environment variables.
  • Updated the pkg/api/service/v1alpha1/service.go file to include a new field for EKS support in the GetVersionInfoResponse struct. Set the new field to true in the GetVersionInfo function to indicate that EKS is supported.

Fixes #9.


To checkout this PR branch, run the following command in your terminal:

git checkout {pull_request.branch_name}

馃帀 Latest improvements to Sweep:

  • Use Sweep Map to break large issues into smaller sub-issues, perfect for large tasks like "Sweep (map): migrate from React class components to function components"
  • Getting Sweep to format before committing! Check out Sweep Sandbox Configs to set it up.
  • We released a demo of our chunker, where you can find the corresponding blog and code.

馃挕 To get Sweep to edit this pull request, you can:

  • Leave a comment below to get Sweep to edit the entire PR
  • Leave a comment in the code will only modify the file
  • Edit the original issue to get Sweep to recreate the PR from scratch

@sweep-ai sweep-ai bot added the sweep Assigns Sweep to an issue or pull request. label Aug 22, 2023
@sweep-ai sweep-ai bot mentioned this pull request Aug 22, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep Assigns Sweep to an issue or pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for EKS - managed node group
1 participant