Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
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.internal/api/config/eks_config.go
file to define a new structEKSConfig
to hold the EKS configurations. Added fields in theEKSConfig
struct for necessary configurations such as cluster name, node group name, etc. Implemented a function to load the EKS configurations from environment variables.pkg/api/service/v1alpha1/service.go
file to include a new field for EKS support in theGetVersionInfoResponse
struct. Set the new field to true in theGetVersionInfo
function to indicate that EKS is supported.Fixes #9.
To checkout this PR branch, run the following command in your terminal:
馃帀 Latest improvements to Sweep:
馃挕 To get Sweep to edit this pull request, you can: