Commit fa8c3159 authored by bikebilly's avatar bikebilly

Change default cluster size to n1-standard-2

parent cfc932ca
......@@ -12,7 +12,7 @@ module Gcp
default_value_for :gcp_cluster_zone, 'us-central1-a'
default_value_for :gcp_cluster_size, 3
default_value_for :gcp_machine_type, 'n1-standard-4'
default_value_for :gcp_machine_type, 'n1-standard-2'
attr_encrypted :password,
mode: :per_attribute_iv,
......
......@@ -27,7 +27,7 @@
.form-group
= field.label :gcp_machine_type, s_('ClusterIntegration|Machine type')
= link_to(s_('ClusterIntegration|See machine types'), 'https://cloud.google.com/compute/docs/machine-types', target: '_blank', rel: 'noopener noreferrer')
= field.text_field :gcp_machine_type, class: 'form-control', placeholder: 'n1-standard-4'
= field.text_field :gcp_machine_type, class: 'form-control', placeholder: 'n1-standard-2'
.form-group
= field.label :project_namespace, s_('ClusterIntegration|Project namespace (optional, unique)')
......
......@@ -7,7 +7,7 @@ FactoryGirl.define do
gcp_cluster_name 'test-cluster'
gcp_cluster_zone 'us-central1-a'
gcp_cluster_size 1
gcp_machine_type 'n1-standard-4'
gcp_machine_type 'n1-standard-2'
trait :with_kubernetes_service do
after(:create) do |cluster, evaluator|
......
......@@ -69,7 +69,7 @@ describe GoogleApi::CloudPlatform::Client do
let(:cluster_name) { 'test-cluster' }
let(:cluster_size) { 1 }
let(:machine_type) { 'n1-standard-4' }
let(:machine_type) { 'n1-standard-2' }
let(:operation) { double }
before do
......
......@@ -36,7 +36,7 @@ describe Gcp::Cluster do
it { expect(cluster.gcp_cluster_zone).to eq('us-central1-a') }
it { expect(cluster.gcp_cluster_size).to eq(3) }
it { expect(cluster.gcp_machine_type).to eq('n1-standard-4') }
it { expect(cluster.gcp_machine_type).to eq('n1-standard-2') }
end
describe '#validates' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment