Skip to content

Commit

Permalink
Adjust compute quotas
Browse files Browse the repository at this point in the history
  • Loading branch information
rajivnathan committed Oct 16, 2024
1 parent a27f419 commit 91ab684
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions deploy/templates/nstemplatetiers/intellarge/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ objects:
count/deployments.apps: "30"
count/deploymentconfigs.apps: "30"
count/pods: "50"
count/virtualmachines.kubevirt.io: "2"
selector:
annotations: null
labels:
Expand Down
4 changes: 2 additions & 2 deletions deploy/templates/nstemplatetiers/intellarge/ns_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ objects:
hard:
limits.cpu: 16000m
limits.memory: ${MEMORY_LIMIT}
requests.cpu: 8000m
requests.cpu: 16000m
requests.memory: ${MEMORY_REQUEST}
- apiVersion: v1
kind: ResourceQuota
Expand All @@ -88,7 +88,7 @@ objects:
hard:
limits.cpu: 16000m
limits.memory: ${MEMORY_BUILD_LIMIT}
requests.cpu: 8000m
requests.cpu: 16000m
requests.memory: ${MEMORY_BUILD_REQUEST}
- apiVersion: v1
kind: ResourceQuota
Expand Down
1 change: 1 addition & 0 deletions deploy/templates/nstemplatetiers/intelmedium/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ objects:
count/deployments.apps: "30"
count/deploymentconfigs.apps: "30"
count/pods: "50"
count/virtualmachines.kubevirt.io: "2"
selector:
annotations: null
labels:
Expand Down
4 changes: 2 additions & 2 deletions deploy/templates/nstemplatetiers/intelmedium/ns_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ objects:
hard:
limits.cpu: 8000m
limits.memory: ${MEMORY_LIMIT}
requests.cpu: 4000m
requests.cpu: 8000m
requests.memory: ${MEMORY_REQUEST}
- apiVersion: v1
kind: ResourceQuota
Expand All @@ -88,7 +88,7 @@ objects:
hard:
limits.cpu: 8000m
limits.memory: ${MEMORY_BUILD_LIMIT}
requests.cpu: 4000m
requests.cpu: 8000m
requests.memory: ${MEMORY_BUILD_REQUEST}
- apiVersion: v1
kind: ResourceQuota
Expand Down
4 changes: 2 additions & 2 deletions deploy/templates/usertiers/intel/tier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ objects:
deactivationTimeoutDays: ${{DEACTIVATION_TIMEOUT_DAYS}}
parameters:
- name: NAMESPACE
# Oct 18 to Nov 4 (inclusive)
# 2 months for now
- name: DEACTIVATION_TIMEOUT_DAYS
value: "18"
value: "60"
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func TestNewUserTier(t *testing.T) {
case "deactivate365":
assert.Equal(t, 365, tier.Spec.DeactivationTimeoutDays)
case "intel":
assert.Equal(t, 18, tier.Spec.DeactivationTimeoutDays)
assert.Equal(t, 60, tier.Spec.DeactivationTimeoutDays)
default:
require.Fail(t, "found unexpected tier", "tier '%s' found but not handled", tier.Name)
}
Expand Down

0 comments on commit 91ab684

Please sign in to comment.