Skip to content

Commit

Permalink
Make bastion machine type for ocp4-cluster bastion variable and updat…
Browse files Browse the repository at this point in the history
…e to n2-standard-2 (#8935)

* Update gcp_cloud_template.j2

* Update default_vars_gcp.yml
  • Loading branch information
rut31337 authored Dec 18, 2024
1 parent 4c1dfb2 commit e84a3e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ansible/configs/ocp4-cluster/default_vars_gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ master_instance_count: 3
gcp_rhel_image_project: rhel-cloud
gcp_rhel_image_family: rhel-9

# Default type for GCP instances (bastion)
gcp_default_machine_type: n2-standard-2

# Machine Type for control plane (master) nodes
master_instance_type: n2-standard-4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resources:
type: compute.v1.instance
properties:
zone: {{ gcp_zone }}
machineType: zones/{{ gcp_zone }}/machineTypes/n1-standard-2
machineType: zones/{{ gcp_zone }}/machineTypes/{{ gcp_default_machine_type }}
metadata:
items:
- key: ssh-keys
Expand Down

0 comments on commit e84a3e5

Please sign in to comment.