-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mgmt-19419: replace HighAvailabilityMode with ControlPlaneCount - phase 1 #2632
Conversation
Skipping CI for Draft Pull Request. |
/cc: @danmanor |
aa7a8e5
to
a063420
Compare
@andrej1991: This pull request references Mgmt-19419 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.19.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
a063420
to
4883d33
Compare
# if self.nodes.masters_count and self.nodes.masters_count > 3: | ||
# extra_vars["control_plane_count"] = self.nodes.masters_count |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove if it's not needed
@@ -95,7 +95,8 @@ class _EnvVariables(DataPool, ABC): | |||
loader=lambda x: bool(strtobool(x)), | |||
default=env_defaults.DEFAULT_USER_MANAGED_NETWORKING, | |||
) | |||
high_availability_mode: EnvVar = EnvVar(default=env_defaults.DEFAULT_HIGH_AVAILABILITY_MODE) | |||
control_plane_count: EnvVar = EnvVar(default=env_defaults.DEFAULT_CONTROL_PLANE_COUNT) | |||
high_availability_mode: EnvVar = EnvVar(default=consts.HighAvailabilityMode.FULL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we want to remove high_availability_mode
, since you seem to use control_plane_count
everywhere now?
Makefile
Outdated
@@ -23,7 +23,7 @@ SKIPPER_PARAMS ?= -i | |||
|
|||
ASSISTED_SERVICE_HOST := $(or ${ASSISTED_SERVICE_HOST},$(shell hostname)) | |||
|
|||
# Openshift CI params | |||
# Openshift CI params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Openshift CI params | |
# Openshift CI params |
nit
/cc @danmanor |
4883d33
to
34b46e6
Compare
@andrej1991: This pull request references Mgmt-19419 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.19.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
…h assisted-service
34b46e6
to
cd286bf
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adriengentil, andrej1991 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@andrej1991: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
MGMT-19419: it is the first phase of replacing HighAvailabilityMode with ControlPlaneCount. At the moment because assisted-service still uses high-availability-mode some references needs to be kept so the deployment would work.
It depends on openshift/assisted-installer-agent#911.