Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions examples/sn-platform/autoscaling-resource-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ broker:
# Deploy the https://github.com/kubernetes-sigs/metrics-server to support resource metrics.
# Metrics server supports the cpu and memory PodMetrics.
metrics:
type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 70
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 70

bookkeeper:
autoScaling:
Expand All @@ -21,9 +21,9 @@ bookkeeper:
# Deploy the https://github.com/kubernetes-sigs/metrics-server to support resource metrics.
# Metrics server supports the cpu and memory PodMetrics.
metrics:
type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 70
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 70