diff options
| author | Scott Dodson <sdodson@redhat.com> | 2017-12-12 09:15:52 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-12 09:15:52 -0500 | 
| commit | 01ae634a0bf89fe840006f9139f8ffd20e09afc8 (patch) | |
| tree | d53a7c03e4855885e124559018fff32adeaaf4ea /roles/openshift_aws/defaults | |
| parent | 0b6fa3dcd40c2dd1f42fcceb52f82c2a28ed96e2 (diff) | |
| parent | 35c1abb6050f2cd1f31396edd42618a2998bd546 (diff) | |
| download | openshift-01ae634a0bf89fe840006f9139f8ffd20e09afc8.tar.gz openshift-01ae634a0bf89fe840006f9139f8ffd20e09afc8.tar.bz2 openshift-01ae634a0bf89fe840006f9139f8ffd20e09afc8.tar.xz openshift-01ae634a0bf89fe840006f9139f8ffd20e09afc8.zip | |
Merge pull request #6335 from kwoodson/node_groups_refactor
Node group management update.
Diffstat (limited to 'roles/openshift_aws/defaults')
| -rw-r--r-- | roles/openshift_aws/defaults/main.yml | 41 | 
1 files changed, 15 insertions, 26 deletions
| diff --git a/roles/openshift_aws/defaults/main.yml b/roles/openshift_aws/defaults/main.yml index 42ef22846..74e5d1dde 100644 --- a/roles/openshift_aws/defaults/main.yml +++ b/roles/openshift_aws/defaults/main.yml @@ -6,9 +6,7 @@ openshift_aws_create_security_groups: True  openshift_aws_create_launch_config: True  openshift_aws_create_scale_group: True -openshift_aws_current_version: '' -openshift_aws_new_version: '' - +openshift_aws_node_group_upgrade: False  openshift_aws_wait_for_ssh: True  openshift_aws_clusterid: default @@ -19,7 +17,6 @@ openshift_aws_build_ami_group: "{{ openshift_aws_clusterid }}"  openshift_aws_iam_cert_name: "{{ openshift_aws_clusterid }}-master-external"  openshift_aws_iam_cert_path: ''  openshift_aws_iam_cert_key_path: '' -openshift_aws_scale_group_basename: "{{ openshift_aws_clusterid }} openshift"  openshift_aws_iam_role_name: openshift_node_describe_instances  openshift_aws_iam_role_policy_json: "{{ lookup('file', 'describeinstances.json') }}" @@ -34,14 +31,12 @@ openshift_aws_ami_name: openshift-gi  openshift_aws_base_ami_name: ami_base  openshift_aws_launch_config_bootstrap_token: '' -openshift_aws_launch_config_basename: "{{ openshift_aws_clusterid }}"  openshift_aws_users: []  openshift_aws_ami_tags:    bootstrap: "true"    openshift-created: "true" -  clusterid: "{{ openshift_aws_clusterid }}"    parent: "{{ openshift_aws_base_ami | default('unknown') }}"  openshift_aws_s3_mode: create @@ -124,6 +119,20 @@ openshift_aws_ami_map:    infra: "{{ openshift_aws_ami }}"    compute: "{{ openshift_aws_ami }}" +openshift_aws_master_group: +- name: "{{ openshift_aws_clusterid }} master group" +  group: master + +openshift_aws_node_groups: +- name: "{{ openshift_aws_clusterid }} compute group" +  group: compute +- name: "{{ openshift_aws_clusterid }} infra group" +  group: infra + +openshift_aws_created_asgs: [] +openshift_aws_current_asgs: [] + +# these will be used during upgrade  openshift_aws_master_group_config:    # The 'master' key is always required here.    master: @@ -139,7 +148,6 @@ openshift_aws_master_group_config:        host-type: master        sub-host-type: default        runtime: docker -      version: "{{ openshift_aws_new_version }}"      wait_for_instances: True      termination_policy: "{{ openshift_aws_node_group_termination_policy }}"      replace_all_instances: "{{ openshift_aws_node_group_replace_all_instances }}" @@ -163,7 +171,6 @@ openshift_aws_node_group_config:        host-type: node        sub-host-type: compute        runtime: docker -      version: "{{ openshift_aws_new_version }}"      termination_policy: "{{ openshift_aws_node_group_termination_policy }}"      replace_all_instances: "{{ openshift_aws_node_group_replace_all_instances }}"      iam_role: "{{ openshift_aws_iam_role_name }}" @@ -183,7 +190,6 @@ openshift_aws_node_group_config:        host-type: node        sub-host-type: infra        runtime: docker -      version: "{{ openshift_aws_new_version }}"      termination_policy: "{{ openshift_aws_node_group_termination_policy }}"      replace_all_instances: "{{ openshift_aws_node_group_replace_all_instances }}"      iam_role: "{{ openshift_aws_iam_role_name }}" @@ -283,21 +289,4 @@ openshift_aws_node_run_bootstrap_startup: True  openshift_aws_node_user_data: ''  openshift_aws_node_config_namespace: openshift-node -openshift_aws_node_groups: nodes -  openshift_aws_masters_groups: masters,etcd,nodes - -# If creating extra node groups, you'll need to define all of the following - -# The format is the same as openshift_aws_node_group_config, but the top-level -# key names should be different (ie, not == master or infra). -# openshift_aws_node_group_config_extra: {} - -# This variable should look like openshift_aws_launch_config_security_groups -# and contain a one-to-one mapping of top level keys that are defined in -# openshift_aws_node_group_config_extra. -# openshift_aws_launch_config_security_groups_extra: {} - -# openshift_aws_node_security_groups_extra: {} - -# openshift_aws_ami_map_extra: {} | 
