feat: Add RAM and CPU resource validation for container deployments#240
Open
dhaval-p-iqud wants to merge 4 commits into
Open
feat: Add RAM and CPU resource validation for container deployments#240dhaval-p-iqud wants to merge 4 commits into
dhaval-p-iqud wants to merge 4 commits into
Conversation
…or deployments - Updated the deployment validation process to check for RAM, CPU, and port availability before deployment. - Removed the PortAvailabilityService and integrated resource checks into the ResourceAvailabilityService. - Renamed relevant methods and endpoints to reflect the new validation approach. - Enhanced error handling for insufficient resources during deployment. - Updated UI components and API calls to align with the new validation logic. - Added copy button and link for the container to redirect into new tab
Contributor
Deploying console with
|
| Latest commit: |
e2d68bf
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e2848ae3.core-6vy.pages.dev |
| Branch Preview URL: | https://feature-dp-vram-checker.core-6vy.pages.dev |
- Improved error handling in various services, including ContainerService, DeployTemplateExecutor, and ResourceAvailabilityService, to provide clearer error messages and logging. - Updated terminal service methods to handle errors gracefully and log relevant information. - Refactored health controller to log errors during health checks. - Enhanced SocketClientService to utilize shared error messages for consistency. - Improved resource validation checks to ensure robust error reporting during deployment processes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📝 What does this change do?
Changes:
PortAvailabilityServiceand moved validation logic intoResourceAvailabilityService.🔗 Related Issue / Task
🧪 How was this tested?
Steps to Test:
📸 Screenshots (if UI changes)
✅ Checklist