-
Notifications
You must be signed in to change notification settings - Fork 166
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
[Provider/Client] deploy Hosted OCP Cluster #9111
Merged
dahorak
merged 177 commits into
red-hat-storage:master
from
DanielOsypenko:deploy_hosted_cluster
May 27, 2024
Merged
Changes from 176 commits
Commits
Show all changes
177 commits
Select commit
Hold shift + click to select a range
ee162ff
WIP Load Balancer
DanielOsypenko f9a3431
WIP Load Balancer 1
DanielOsypenko 3a8f7aa
hcp setup
DanielOsypenko 48a9e5a
network policy
DanielOsypenko f5a623c
metallb and reserve-delete host TESTED
DanielOsypenko 7d86caa
hypershift-create-cluster
DanielOsypenko f651038
hypershift operations
DanielOsypenko 08cddbc
add todo
DanielOsypenko e179f13
hosted_clsuter module added
DanielOsypenko 939b415
libtest added, check functions added for multiple hosted clusters cre…
DanielOsypenko 435d6e2
add permissions to hcp file
DanielOsypenko 1390299
libtest mark added
DanielOsypenko 84cf7f6
add skip cnv depl if exists
DanielOsypenko deab0ec
customize lib test
DanielOsypenko 1f1fb90
podman login removed
DanielOsypenko 1c932c3
hcp-binary download issues
DanielOsypenko 8a61961
hcp download fix 1.0
DanielOsypenko 76113cf
dynamic wait for pull image. try
DanielOsypenko 65c2139
dynamic wait for pull image. another try
DanielOsypenko c86ea8f
removed dynamic wait for hcp pull
DanielOsypenko c5cab84
fix func to cp file from container
DanielOsypenko 35ecf88
icsp fix 1
DanielOsypenko d752b3e
minor fixes 1
DanielOsypenko 967f051
minor fix 2
DanielOsypenko 4aa14ab
minor fix 3
DanielOsypenko f4a2861
minor fix 4
DanielOsypenko 03c0265
iscp parser
DanielOsypenko 5e8579d
iscp fix 10
DanielOsypenko 5e9072b
iscp fix 11
DanielOsypenko 1f04650
icsp fix 12
DanielOsypenko 8252407
icsp fix 13
DanielOsypenko 8d4e6d3
fix wait hcp cluster 1
DanielOsypenko 2351218
added test_provider_deploy_OCP_hosted_skip_cnv
DanielOsypenko 7f8c133
change timeout to wait resources
DanielOsypenko c4907f2
platform changes
DanielOsypenko a4e3e6d
fix ipaddresspool - IBM
DanielOsypenko db418ef
redesign HypershiftHostedOCP and ACM
DanielOsypenko 1eaa124
cnv-verification-allow-fail
DanielOsypenko 1ee46ae
deploy_hosted_cluster
DanielOsypenko 27d6aac
added rbd sc set default
DanielOsypenko 20a47bf
check acm exists fix
DanielOsypenko a490872
fix deploy_acm_hub
DanielOsypenko fccb0e6
fix operatorgroup metallb
DanielOsypenko 8dd1226
metallb - namespace shadowed, fixed
DanielOsypenko 409541a
fix addresspool for ibm
DanielOsypenko db84f13
apply network policy to hosted clusters
DanielOsypenko ae7caa0
metallb instance added
DanielOsypenko 742dfd9
fix verification func for hosted OCP
DanielOsypenko dc07643
added multiple OCP deployment
DanielOsypenko 00fe9c2
deploy_ocp return statement fixed and other
DanielOsypenko b037ccf
fix verify_hosted_ocp_cluster_from_provider 2.0
DanielOsypenko 59089cd
subscriptions kind fixed
DanielOsypenko 880c9a5
lowered reqs for hosted cluster create
DanielOsypenko 6dc32fb
renamed clusters
DanielOsypenko 75a5312
added purple squad
DanielOsypenko 58a81bd
test_create_kubeconfig_for_hosted_clusters
DanielOsypenko f246c74
download_hosted_cluster_kubeconfig adjusted
DanielOsypenko 04e69e0
download_hosted_cluster_kubeconfig adjusted 1.0
DanielOsypenko b4dcb34
download_hosted_cluster_kubeconfig adjusted 2.0
DanielOsypenko 5fb3810
download_hosted_cluster_kubeconfig 3.0
DanielOsypenko 04dbe21
download_hosted_cluster_kubeconfig with sleep
DanielOsypenko 0155132
experiment
DanielOsypenko 35e681b
download_hosted_cluster_kubeconfig 4.0
DanielOsypenko 5638755
deployHostedODF 1
DanielOsypenko 6780edb
download_hosted_cluster_kubeconfig fix
DanielOsypenko 4dbcb72
network_pol fix
DanielOsypenko b6cbddf
is_exists with diff kubeconfigs
DanielOsypenko 5de9126
debugprint
DanielOsypenko e22496e
cluster_conf fix
DanielOsypenko ea9cee6
cluster_conf fix
DanielOsypenko 742111e
remove debug prints
DanielOsypenko a694b42
odf installation on client 1.0
DanielOsypenko bebaddc
odf installation on client 1.1
DanielOsypenko cfe21f3
odf installation on client 1.2
DanielOsypenko 3bbe527
odf installation on client 1.3
DanielOsypenko 82ce4a0
odf installation on client 1.4
DanielOsypenko a71ca0e
odf installation on client 1.5
DanielOsypenko e1f2fca
odf installation on client 1.6
DanielOsypenko 1ae36cc
odf installation on client 1.7
DanielOsypenko f8fdd28
odf installation on client 1.8
DanielOsypenko 7aca323
odf installation on client 1.9
DanielOsypenko 3772dbe
odf installation on client 1.10
DanielOsypenko a5d4f5f
odf installation on client 1.11
DanielOsypenko 57b2038
odf installation on client 1.12
DanielOsypenko 87b4b80
odf installation on client 1.13
DanielOsypenko 8656b9a
odf installation on client 1.14
DanielOsypenko 2747521
odf installation on client 1.15
DanielOsypenko 99896a6
odf installation on client 1.16
DanielOsypenko 905a34f
odf installation on client 1.17
DanielOsypenko 17a093b
odf installation on client 1.18
DanielOsypenko 3641e5c
odf installation on client 1.19
DanielOsypenko 44708f9
odf installation on client 1.20
DanielOsypenko ea52b57
odf installation on client 1.21
DanielOsypenko a089c47
odf installation on client 1.21
DanielOsypenko a52bcaf
odf installation on client 1.22
DanielOsypenko a43a49a
odf installation on client 1.23
DanielOsypenko d6ac0ed
odf installation on client 1.24
DanielOsypenko 86fc115
odf installation on client 1.25
DanielOsypenko 5333ce1
odf installation on client 1.23
DanielOsypenko 4e9b370
odf installation on client 1.24
DanielOsypenko 6b3f140
odf installation on client 1.25
DanielOsypenko fe7e8b5
odf installation on client 1.26
DanielOsypenko 089ed29
odf installation on client 1.27
DanielOsypenko 7b2d4ce
odf installation on client 1.28
DanielOsypenko e6b6729
odf installation on client 1.29
DanielOsypenko 4c9c737
cleanup and review comments 1.0
DanielOsypenko a170d4d
cleanup and review comments 1.1
DanielOsypenko fb322f5
omit failure when CNV not installed yet 0.1
DanielOsypenko 4e06826
metallb - wait for csvs added
DanielOsypenko ae1a37a
metallb - retry for l2adv and rest
DanielOsypenko 6272c47
get kubeconfigs retry
DanielOsypenko 4caf7cd
review fixes, ip addresses static, auth paths customizeable 0.1
DanielOsypenko a1b70f5
review fixes, ip addresses static, auth paths customizeable 0.2 (reso…
DanielOsypenko 222527d
corrected the yaml files
DanielOsypenko d84a01b
dont run hcp create if cluster exists
DanielOsypenko 726e7af
verify csv installed metallb and odf
DanielOsypenko 962fc1b
review fixes, documentation
DanielOsypenko 4e39a02
cleanup env vars
DanielOsypenko 56b4f64
metallb wait csv fix
DanielOsypenko cc6e496
hcp update, remove hcp container
DanielOsypenko c4a3826
hcp update, remove hcp container 0.1
DanielOsypenko 917b901
hcp update, remove hcp container 0.2
DanielOsypenko 1939993
added annotation to skip release check on hcp creation
DanielOsypenko 65028c6
added annotation to skip release check on hcp creation 0.1
DanielOsypenko 40761ed
install_hcp_and_hypershift_from_git 0.1
DanielOsypenko 4a89782
install_hcp_and_hypershift_from_git 0.2
DanielOsypenko c7230dd
install_hcp_and_hypershift_from_git 0.3
DanielOsypenko c112717
install_hcp_and_hypershift_from_git 0.4
DanielOsypenko eb47d83
install_hcp_and_hypershift_from_git 0.4
DanielOsypenko 5fc3fd9
install_hcp_and_hypershift_from_git 0.5
DanielOsypenko fa85f3b
metallb_wait_csv
DanielOsypenko b247768
install metallb of latest version
DanielOsypenko 8a069c5
install nightly OCP on hosted clusters
DanielOsypenko 61bf5d2
adjust odf provision on 4.16
DanielOsypenko d5645ca
install upstream hypershift
DanielOsypenko ea3a36e
nodepool_replicas added
DanielOsypenko 1a24cbe
hyperconverged installed 0.1
DanielOsypenko 5adfa44
hyperconverged installed 0.2
DanielOsypenko d6d5f7d
hyperconverged installed 0.3
DanielOsypenko 7a5f3a8
doc upd 0.1
DanielOsypenko 3c72ecb
import error 0.1
DanielOsypenko c059c82
hosted ODF PackageManifest call fix
DanielOsypenko 6c2f6b3
mce check removed
DanielOsypenko f6bccc8
hypershift upstream Fix 0.1
DanielOsypenko 20e9d30
metallb kind - wait added
DanielOsypenko 382e1d6
added hypershift_upstream_installed to check if upstream installed 0.1
DanielOsypenko 8668f66
fix optional catalogsource
DanielOsypenko e893c92
avoid install metallb second time 0.1
DanielOsypenko 7e33965
minor fixes 0.1
DanielOsypenko 19b8d10
tmp-image-changed-odf-client
DanielOsypenko 49ab009
timeout verify client installation increased
DanielOsypenko 8baaf6b
odf-registry-dynamic
DanielOsypenko 3fccd0c
remove catalog-pods-check
DanielOsypenko 0412ad9
add install_hypershift_upstream env into config
DanielOsypenko 8bc7266
change hypershift create command
DanielOsypenko 3e98e6b
minor fix 0.2
DanielOsypenko 20e685a
minor fix 0.3
DanielOsypenko 8b4d7e4
customize cnv ver and ocp ver
DanielOsypenko ca35c60
remove automatic upgrade plan
DanielOsypenko 8658d28
return back hyperconverged yaml
DanielOsypenko 4d289d1
check cnv ready fix
DanielOsypenko 71c3310
fix metallb operatorgroup
DanielOsypenko 8b8a020
retry when failed calling webhook \"ipaddresspoolvalidationwebhook.me…
DanielOsypenko ee4b25b
fixed location of path in cluster config
DanielOsypenko 999ecd6
add redundancy to create metallb, storageClient tune to 4.16
DanielOsypenko ccd7121
add check storageclass exists
DanielOsypenko 0f3065e
storage-claim funcs updated
DanielOsypenko ec24eb0
review fix DanielH,Filip
DanielOsypenko 22ed0d1
timeouts increased as from results on BM3
DanielOsypenko 9f0bd9e
circular import resolved
DanielOsypenko 2607c56
kubeconf path fixed
DanielOsypenko c4cbd10
correct default channel to allow ODF N+1
DanielOsypenko 451cc67
add fields to example yaml
DanielOsypenko a5f2fd1
cosmetic 0.1
DanielOsypenko 5b0883e
cosmetic 0.3
DanielOsypenko f30ee1c
rbd sc renamed
DanielOsypenko 88023e0
Merge branch 'master' into deploy_hosted_cluster
dahorak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
conf/examples/provider_mode_ibm_cloud_baremetal_kubevirt_clients.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# This yaml file contains the configuration for the deployment of the ACM hub cluster on IBM Cloud Bare Metal | ||
# with Hosted client clusters. The configuration is used by the HyperShiftBase.download_hcp_binary(), | ||
# HostedClients.deploy_hosted_ocp_clusters(), HypershiftHostedOCP.deploy_ocp(), HostedODF.do_deploy(), | ||
# MetallbOperator.deploy_metallb() and similar methods during the Hosted clusters deployment. | ||
# The configuration is for observation purposes only and is not intended to be executed. In order to execute | ||
# the configuration, the user must provide the desired values for the variables in the configuration. | ||
|
||
--- | ||
DEPLOYMENT: | ||
cnv_deployment: true | ||
metallb_operator: true | ||
cnv_latest_stable: true | ||
local_storage: true | ||
ENV_DATA: | ||
platform: "hci_baremetal" | ||
cluster_type: "provider" # it is necessary to run the Hosted clusters deployment on the Provider cluster | ||
deploy_acm_hub_cluster: true | ||
acm_version: "2.10" # this is an example, please provide the desired version | ||
acm_hub_channel: "release-2.10" # this is an example, please provide the desired version | ||
hcp_version: "4.16" # this is an example, please provide the desired version | ||
metallb_version: "4.16" # this is an example, please provide the desired version | ||
clusters: # the list of the Hosted clusters and their configuration. If field does not exist HostedClsuter installation will be skipped | ||
hcp415-bm3-e: # the field name is the name of the Hosted cluster | ||
hosted_cluster_path: "~/clusters/hcp416-bm3-e/openshift-cluster-dir" # path to store auth_path dir or cluster related files | ||
ocp_version: "4.15.13" # this is an example, please provide the desired OCP version | ||
cpu_cores_per_hosted_cluster: 6 # minimal, tested value for the kubevirt cluster is 6 | ||
memory_per_hosted_cluster: "12Gi" # minimal, tested value for the kubevirt cluster is 12Gi | ||
hosted_odf_registry: "quay.io/rhceph-dev/ocs-registry" # this is an example, please provide the desired registry | ||
hosted_odf_version: "4.16.0-99" # this is an example, please provide the desired version | ||
setup_storage_client: true # if true, the Storage Client will be created and verification will be performed | ||
nodepool_replicas: 3 # number of worker nodes created for Hosted cluster | ||
hcp415-bm3-f: | ||
hosted_cluster_path: "~/clusters/hcp416-bm3-f/openshift-cluster-dir" # path to store auth_path dir or cluster related files | ||
ocp_version: "4.15.10" # this is an example, please provide the desired OCP version | ||
cpu_cores_per_hosted_cluster: 8 # minimal, tested value for the kubevirt cluster is 6 | ||
memory_per_hosted_cluster: "12Gi" # minimal, tested value for the kubevirt cluster is 12Gi | ||
hosted_odf_registry: "quay.io/rhceph-dev/ocs-registry" # this is an example, please provide the desired registry | ||
hosted_odf_version: "4.16.0-106" # this is an example, please provide the desired version | ||
setup_storage_client: true # if true, the Storage Client will be created and verification will be performed | ||
nodepool_replicas: 2 # number of worker nodes created for Hosted cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
ENV_DATA: | ||
hcp_version: "4.14" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
ENV_DATA: | ||
hcp_version: "4.15" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
ENV_DATA: | ||
hcp_version: "4.16" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
DEPLOYMENT: | ||
metallb_operator: true | ||
ENV_DATA: | ||
metallb_version: "4.14" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
DEPLOYMENT: | ||
metallb_operator: true | ||
ENV_DATA: | ||
metallb_version: "4.15" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
DEPLOYMENT: | ||
metallb_operator: true | ||
ENV_DATA: | ||
metallb_version: "4.16" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Very helpful document
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.
thanks!