Skip to content

Commit 3ffb724

Browse files
committed
fix(applications): add missing property for scale configuration
1 parent b8fb3cc commit 3ffb724

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.azure/applications/graphql/main.bicep

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ param scale Scale = {
114114
maxReplicas: 10
115115
rules: [
116116
{
117+
name: 'cpu'
117118
custom: {
118119
type: 'cpu'
119120
metadata: {
@@ -123,6 +124,7 @@ param scale Scale = {
123124
}
124125
}
125126
{
127+
name: 'memory'
126128
custom: {
127129
type: 'memory'
128130
metadata: {

.azure/applications/web-api-eu/main.bicep

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ param scale Scale = {
8585
maxReplicas: 10
8686
rules: [
8787
{
88+
name: 'cpu'
8889
custom: {
8990
type: 'cpu'
9091
metadata: {
@@ -94,6 +95,7 @@ param scale Scale = {
9495
}
9596
}
9697
{
98+
name: 'memory'
9799
custom: {
98100
type: 'memory'
99101
metadata: {

.azure/modules/containerApp/main.bicep

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ param probes array = []
3333

3434
@export()
3535
type ScaleRule = {
36+
name: string
3637
// add additional types as needed: https://keda.sh/docs/2.15/scalers/
3738
custom: {
3839
type: 'cpu' | 'memory'

0 commit comments

Comments
 (0)