Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

feature: Make deployment replicas configurable on resource level #178

Merged
merged 23 commits into from
Mar 22, 2023

Conversation

ChrisRousey
Copy link
Contributor

This PR is to make the deployment replica amount configurable at the resource level, when creating a new deployment.
Ticket reference: #112

health and metrics now make their endpoint calls to the first replica

refs: #112
and change replica call to queryparam instead of pathparam
now relying on Kubernetes client error handling and mapping to a new exception

refs: #112
@ChrisRousey
Copy link
Contributor Author

The changes of this PR are documentated in a gitbook PR

@ChrisRousey ChrisRousey marked this pull request as ready for review March 13, 2023 13:45
Copy link
Contributor

@flippingbits flippingbits left a comment

Choose a reason for hiding this comment

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

Thanks for the great work :) I left a few remarks.

@flippingbits flippingbits linked an issue Mar 15, 2023 that may be closed by this pull request
@ChrisRousey
Copy link
Contributor Author

This PR is ready for review @flippingbits @HknLof @olis1996

I had to remove two tests regarding the logs, since the kubernetes mockserver doesn't actually seem to create real deployments/replicas under the hood. I have created an issue #193 to address this.

@flippingbits flippingbits self-requested a review March 22, 2023 10:25
Copy link
Contributor

@flippingbits flippingbits left a comment

Choose a reason for hiding this comment

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

💯

@sonarcloud
Copy link

sonarcloud bot commented Mar 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

22.8% 22.8% Coverage
0.0% 0.0% Duplication

@ChrisRousey ChrisRousey merged commit 4229229 into main Mar 22, 2023
@ChrisRousey ChrisRousey deleted the feat/rework-deployment-configuration branch March 22, 2023 14:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Deployment Replicas configurable
2 participants