Skip to content

preflight pass wording and enable HA by default #2129

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ajp-io
Copy link
Member

@ajp-io ajp-io commented Apr 25, 2025

What this PR does / why we need it:

Say "preflights passed" instead of "succeeded" because that's the terminology we usually use for Troubleshoot.

When prompting about HA while joining nodes, default answer is now yes.

Which issue(s) this PR fixes:

Does this PR require a test?

NONE

Does this PR require a release note?

When prompted to enable high availability while joining a third or more controller node, the default response is now yes to encourage users to enable high availability.

Does this PR require documentation?

@ajp-io ajp-io requested a review from Copilot April 25, 2025 19:58
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the preflight messaging and changes the default behavior for enabling high availability during node joins.

  • Updated host preflight info message to use "passed" instead of "succeeded" for consistency with Troubleshoot terminology.
  • Changed the default answer for the high availability prompt from “no” to “yes” for node joins.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pkg/preflights/run.go Updated informational message wording to match our terminology.
cmd/installer/cli/join.go Changed the default value for the high availability prompt to true.
Comments suppressed due to low confidence (1)

cmd/installer/cli/join.go:555

  • The default confirmation for enabling high availability has been changed to true. Ensure that associated documentation and help messages are updated accordingly to avoid user confusion.
shouldEnableHA, err := prompts.New().Confirm("Do you want to enable high availability?", true)

Copy link

This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID.

Online Installer:

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/appver-dev-9ecedc3" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Airgap Installer (may take a few minutes before the airgap bundle is built):

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci-airgap/appver-dev-9ecedc3?airgap=true" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Happy debugging!

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.

1 participant