Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
Support minimalistic 3-node OCP config (#67)
Browse files Browse the repository at this point in the history
Fixes #65

Signed-off-by: Yussuf Shaikh <yussuf@us.ibm.com>
  • Loading branch information
yussufsh authored Nov 4, 2020
1 parent 1529756 commit 3dd127b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Update the following variables specific to your cluster requirement. All the var
* `memory` : Memory in MBs required for master nodes.
* `vcpu` : Number of VCPUs to use for master nodes.
* `count` : Number of master nodes.
* `worker` : Map of below parameters for worker hosts. (Atleaset 2 Workers are required for running router pods in HA mode)
* `worker` : Map of below parameters for worker hosts.
* `memory` : Memory in MBs required for worker nodes.
* `vcpu` : Number of VCPUs to use for worker nodes.
* `count` : Number of worker nodes.
Expand Down
6 changes: 5 additions & 1 deletion modules/5_install/templates/helpernode_vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,19 @@ masters:
ipaddr: "${m.ip}"
macaddr: "${m.mac}"
%{ endfor ~}
%{ if length(worker_info) > 0 }
workers:
%{ for w in worker_info ~}
- name: "${w.name}"
ipaddr: "${w.ip}"
macaddr: "${w.mac}"
%{ endfor ~}

%{ endif }
ppc64le: true
ssh_gen_key: false

ocp_client: "${client_tarball}"
ocp_installer: "${install_tarball}"

# This is required for latest helpernode. TODO: Remove when https://github.com/RedHatOfficial/ocp4-helpernode/pull/140 is merged
helm_source: "https://get.helm.sh/helm-v3.4.0-linux-ppc64le.tar.gz"
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ variable "installer_log_level" {
variable "helpernode_tag" {
description = "Set the branch/tag name or commit# for using ocp4-helpernode repo"
# Checkout level for https://github.com/RedHatOfficial/ocp4-helpernode which is used for setting up services required on bastion node
default = "fddbbc651153ef2966e5cb4d4167990b31c01ceb"
default = "dd8a0767c677fc862e45b6d70e5d04656ced5d28"
}

variable "install_playbook_tag" {
description = "Set the branch/tag name or commit# for using ocp4-playbooks repo"
# Checkout level for https://github.com/ocp-power-automation/ocp4-playbooks which is used for running ocp4 installations steps
default = "02a598faa332aa2c3d53e8edd0e840440ff74bd5"
default = "b07c89deacb04f996834403b1efdafb1f9a3d7c4"
}

variable "ansible_extra_options" {
Expand Down

0 comments on commit 3dd127b

Please sign in to comment.