Skip to content

Allow deploy OCP with two master node#3119

Closed
danpawlik wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
danpawlik:decrease-ocp-master-when-local
Closed

Allow deploy OCP with two master node#3119
danpawlik wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
danpawlik:decrease-ocp-master-when-local

Conversation

@danpawlik
Copy link
Contributor

@danpawlik danpawlik commented Jul 10, 2025

That commit allows to deploy OCP with two masters node. It would be useful for environments with limited resources.

@danpawlik danpawlik requested a review from a team as a code owner July 10, 2025 16:14
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 10, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@danpawlik danpawlik marked this pull request as draft July 10, 2025 16:15
@danpawlik
Copy link
Contributor Author

@danpawlik danpawlik force-pushed the decrease-ocp-master-when-local branch 4 times, most recently from 4e54d07 to e88bbcd Compare July 11, 2025 12:55
@hjensas
Copy link
Contributor

hjensas commented Jul 11, 2025

@danpawlik interresting! Did you test it?
I think for this to work we also need to change the make target executed to the agent[1] target in roles/devscripts/tasks/main.yml

[1] https://github.com/openshift-metal3/dev-scripts/blob/master/Makefile#L10C1-L10C6

@danpawlik danpawlik force-pushed the decrease-ocp-master-when-local branch 3 times, most recently from 03cd4e0 to f73a158 Compare July 14, 2025 11:05
That commit allows to deploy OCP with two master node.
It would be useful for environments with limited resources.

Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
@danpawlik danpawlik force-pushed the decrease-ocp-master-when-local branch from f73a158 to 8893b4a Compare July 15, 2025 08:32
@softwarefactory-project-zuul
Copy link

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.

@danpawlik danpawlik changed the title Allow deploy OCP with single master node Allow deploy OCP with two master node Jul 15, 2025
@danpawlik
Copy link
Contributor Author

@hjensas so far, it does not work and don't know why (the SNO). It is like the metal3 does not support SNO (looking in theirs script, it is like the "feature" is not present there). I moved the changes to other PR #3129. I was hoping that the metal3 is more less using - https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/installing_on_a_single_node/install-sno-installing-sno#install-sno-installing-sno-manually manual, but seems not.
I don't give up yet ;) maybe we can consider other way https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/installing_on_a_single_node/install-sno-installing-sno#install-booting-from-an-iso-over-http-redfish_install-sno-installing-sno-with-the-assisted-installer ?

@danpawlik danpawlik closed this Jul 18, 2025
@hjensas
Copy link
Contributor

hjensas commented Jul 18, 2025

@hjensas so far, it does not work and don't know why (the SNO). It is like the metal3 does not support SNO (looking in theirs script, it is like the "feature" is not present there). I moved the changes to other PR #3129. I was hoping that the metal3 is more less using - https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/installing_on_a_single_node/install-sno-installing-sno#install-sno-installing-sno-manually manual, but seems not. I don't give up yet ;) maybe we can consider other way https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/installing_on_a_single_node/install-sno-installing-sno#install-booting-from-an-iso-over-http-redfish_install-sno-installing-sno-with-the-assisted-installer ?

I'll take a look this weekend, probably start off with the agent based installer role from hotstack - but change it to use an ISO instead of network boot. It would be similar to what that last link suggest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants