Skip to content
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

add HA support #46347

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ ${HYPERSHIFT_CLI_NAME} create cluster agent ${ICSP_COMMAND} \
--base-domain=${HYPERSHIFT_BASEDOMAIN} \
--api-server-address=api.${HC_NAME}.${HYPERSHIFT_BASEDOMAIN} \
--ssh-key=${ssh_key_file} \
--control-plane-availability-policy "SingleReplica" \
--infra-availability-policy "SingleReplica" \
--control-plane-availability-policy ${HYPERSHIFT_CP_AVAILABILITY_POLICY} \
--infra-availability-policy ${HYPERSHIFT_INFRA_AVAILABILITY_POLICY} \
--namespace $HC_NS \
--release-image=${OCP_IMAGE_MULTI} --render > /tmp/hc-manifests/cluster-agent.yaml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ ref:
- name: ENABLE_ICSP
default: "false"
documentation: "if true, applies image content sources from the management cluster config to the hosted cluster icsp/idms (path=${SHARED_DIR}/mgmt_iscp.yaml)"
- name: HYPERSHIFT_CP_AVAILABILITY_POLICY
default: "SingleReplica"
documentation: "Availability policy for hosted cluster components. Supported options: SingleReplica, HighlyAvailable, default SingleReplica"
- name: HYPERSHIFT_INFRA_AVAILABILITY_POLICY
default: "SingleReplica"
documentation: "Availability policy for infrastructure services in guest cluster. Supported options: SingleReplica, HighlyAvailable, default SingleReplica"
commands: hypershift-mce-ibmz-create-hcp-commands.sh
from: dev-scripts
grace_period: 15m0s
Expand Down