Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete Value metricType from the CPU and Memory Scalers #561

Merged
merged 1 commit into from
Oct 27, 2021
Merged
Show file tree
Hide file tree
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
5 changes: 2 additions & 3 deletions content/docs/2.0/scalers/cpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: cpu
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.0/scalers/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: memory
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.1/scalers/cpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: cpu
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.1/scalers/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: memory
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.2/scalers/cpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: cpu
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.2/scalers/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: memory
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.3/scalers/cpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: cpu
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.3/scalers/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: memory
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.4/scalers/cpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: cpu
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.4/scalers/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: memory
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.5/scalers/cpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: cpu
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down
5 changes: 2 additions & 3 deletions content/docs/2.5/scalers/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ triggers:
- type: memory
metadata:
# Required
type: Value/ Utilization/ AverageValue
type: Utilization/ AverageValue
value: "60"
```

**Parameter list:**

- `type` - Type of metric to use. Options are `Utilization`, `Value`, or `AverageValue`.
- `type` - Type of metric to use. Options are `Utilization`, or `AverageValue`.
- `value` - Value to trigger scaling actions for:
- When using `Value`, the target value is the value of the metric itself (as a quantity).
- When using `Utilization`, the target value is the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
- When using `AverageValue`, the target value is the target value of the average of the metric across all relevant pods (quantity).

Expand Down