Skip to content

Commit

Permalink
Increase quotas in appstudio and appstudiolarge
Browse files Browse the repository at this point in the history
appstudio:
* Parametrize request storage, keep same value of 200Gi
* Set build CPU request to half of limit, i.e. 60.

appstudiolarge:
* Set request storage to double of appstudio tier, i.e. 400Gi.
* Set build CPU request to half of limit, i.e. 240.
* Set build memory request to half of limit, i.e. 256Gi.

Paired with codeready-toolchain/host-operator#1045

KFLUXINFRA-632

Signed-off-by: Hugo Arès <[email protected]>
  • Loading branch information
hugares committed Jun 19, 2024
1 parent 6147bdb commit 3cb75e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testsupport/tiers/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ func commonAppstudioTierChecks() []namespaceObjectsCheck {
func (a *appstudioTierChecks) GetNamespaceObjectChecks(_ string) []namespaceObjectsCheck {
checks := []namespaceObjectsCheck{
resourceQuotaStorage("50Gi", "200Gi", "50Gi", "90"),
resourceQuotaComputeBuild("120", "128Gi", "12", "64Gi"),
resourceQuotaComputeBuild("120", "128Gi", "60", "64Gi"),
}
checks = append(checks, commonAppstudioTierChecks()...)
checks = append(checks, append(commonNetworkPolicyChecks(), networkPolicyAllowFromCRW(), numberOfNetworkPolicies(6))...)
Expand Down Expand Up @@ -545,8 +545,8 @@ type appstudiolargeTierChecks struct {

func (a *appstudiolargeTierChecks) GetNamespaceObjectChecks(_ string) []namespaceObjectsCheck {
checks := []namespaceObjectsCheck{
resourceQuotaComputeBuild("480", "512Gi", "48", "128Gi"),
resourceQuotaStorage("50Gi", "200Gi", "50Gi", "180"),
resourceQuotaComputeBuild("480", "512Gi", "240", "256Gi"),
resourceQuotaStorage("50Gi", "400Gi", "50Gi", "180"),
}
checks = append(checks, commonAppstudioTierChecks()...)
checks = append(checks, append(commonNetworkPolicyChecks(), networkPolicyAllowFromCRW(), numberOfNetworkPolicies(6))...)
Expand Down

0 comments on commit 3cb75e0

Please sign in to comment.