Sha256: 31ac975632b2e3affffa5414274e165a4e3baa8b6aee50676a511c3d332b8e96

Contents?: true

Size: 599 Bytes

Versions: 4

Compression:

Stored size: 599 Bytes

Contents

class StubServiceSizingPolicy < OpenStruct; end

Fabricator(:service_sizing_policy, from: :stub_service_sizing_policy) do
  autoscaling 'vertical'
  metric_lookback_seconds 1800
  percentile 99.0
  post_scale_up_cooldown_seconds 60
  post_scale_down_cooldown_seconds 300
  post_release_cooldown_seconds 300
  mem_cpu_ratio_r_threshold 4
  mem_cpu_ratio_c_threshold 2
  mem_scale_up_threshold 0.9
  mem_scale_down_threshold 0.75
  minimum_memory 2048
  maximum_memory nil
  min_cpu_threshold 0.4
  max_cpu_threshold 0.9
  min_containers 2
  max_containers 5
  scale_up_step 1
  scale_down_step 1
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aptible-cli-0.24.2 spec/fabricators/service_sizing_policy_fabricator.rb
aptible-cli-0.24.1 spec/fabricators/service_sizing_policy_fabricator.rb
aptible-cli-0.24.0 spec/fabricators/service_sizing_policy_fabricator.rb
aptible-cli-0.23.0 spec/fabricators/service_sizing_policy_fabricator.rb