Skip to content

Commit

Permalink
Updated configs to resolve HPA alerts and fixed unrelated API Doc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chris.ditcher authored and chris.ditcher committed Mar 20, 2024
1 parent 84c61e1 commit daafa82
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
MAX_CPU: "300m"
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MIN_REPLICAS: "2"
MAX_REPLICAS: "3"

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.from.main.branch.deploy.to.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
MAX_CPU: "300m"
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MIN_REPLICAS: "2"
MAX_REPLICAS: "3"

on:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
MAX_CPU: "300m"
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MIN_REPLICAS: "2"
MAX_REPLICAS: "3"

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "3"
MAX_REPLICAS: "4"


on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
MIN_MEM: "1024Mi"
MAX_MEM: "4Gi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "3"
MAX_REPLICAS: "4"


on:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ target/
build/

### VS Code ###
.vscode/
.vscode/
api/application-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ public ResponseEntity<SummaryDashBoard> loadSummary(@RequestParam(name = "pageNu

@PostMapping(EducGradBatchGraduationApiConstants.EXECUTE_SPECIALIZED_USER_REQ_RUNS)
@PreAuthorize(PermissionsConstants.RUN_GRAD_ALGORITHM)
@Operation(summary = "Run Specialized TVR Runs", description = "Run specialized Distribution runs", tags = { "DISTRIBUTION" })
@Operation(summary = "Run Specialized TVR Runs", description = "Run specialized Distribution runs", tags = { "Distribution" })
@ApiResponses(value = {@ApiResponse(responseCode = "200", description = "OK"),@ApiResponse(responseCode = "500", description = "Internal Server Error")})
public ResponseEntity<DistributionSummaryDTO> launchUserReqDisRunSpecialJob(@PathVariable String credentialType, @RequestBody StudentSearchRequest studentSearchRequest) {
logger.debug("launchUserReqDisRunSpecialJob");
Expand Down Expand Up @@ -645,7 +645,7 @@ public ResponseEntity<DistributionSummaryDTO> launchUserReqDisRunSpecialJob(@Pat

@PostMapping(EducGradBatchGraduationApiConstants.EXECUTE_SPECIALIZED_BLANK_USER_REQ_RUNS)
@PreAuthorize(PermissionsConstants.RUN_GRAD_ALGORITHM)
@Operation(summary = "Run Specialized User Req Runs", description = "Run specialized Distribution runs", tags = { "DISTRIBUTION" })
@Operation(summary = "Run Specialized User Req Runs", description = "Run specialized Distribution runs", tags = { "Distribution" })
@ApiResponses(value = {@ApiResponse(responseCode = "200", description = "OK"),@ApiResponse(responseCode = "500", description = "Internal Server Error")})
public ResponseEntity<BlankDistributionSummaryDTO> launchUserReqBlankDisRunSpecialJob(@RequestBody BlankCredentialRequest blankCredentialRequest, @PathVariable String credentialType) {
logger.debug("launchUserReqDisRunSpecialJob");
Expand Down

0 comments on commit daafa82

Please sign in to comment.