Skip to content

Commit

Permalink
fix(applications): add missing property for scale configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
arealmaas committed Oct 17, 2024
1 parent b8fb3cc commit 3ffb724
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .azure/applications/graphql/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ param scale Scale = {
maxReplicas: 10
rules: [
{
name: 'cpu'
custom: {
type: 'cpu'
metadata: {
Expand All @@ -123,6 +124,7 @@ param scale Scale = {
}
}
{
name: 'memory'
custom: {
type: 'memory'
metadata: {
Expand Down
2 changes: 2 additions & 0 deletions .azure/applications/web-api-eu/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ param scale Scale = {
maxReplicas: 10
rules: [
{
name: 'cpu'
custom: {
type: 'cpu'
metadata: {
Expand All @@ -94,6 +95,7 @@ param scale Scale = {
}
}
{
name: 'memory'
custom: {
type: 'memory'
metadata: {
Expand Down
1 change: 1 addition & 0 deletions .azure/modules/containerApp/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ param probes array = []

@export()
type ScaleRule = {
name: string
// add additional types as needed: https://keda.sh/docs/2.15/scalers/
custom: {
type: 'cpu' | 'memory'
Expand Down

0 comments on commit 3ffb724

Please sign in to comment.