Skip to content

Conversation

@lahinson
Copy link
Contributor

@lahinson lahinson commented Sep 9, 2025

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 9, 2025
@ocpdocs-previewbot
Copy link

ocpdocs-previewbot commented Sep 9, 2025

Copy link

@jparrill jparrill left a comment

Choose a reason for hiding this comment

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

This is right, but I'm missing the other part we talk about only use the CLI without render, the cluster is created and also the proper secrets like etcd-encryption, ssh, etc... From Ramon's feedback he metioned the secrets were not being deleted using the CLI in this case. It's worth to mention this?

@lahinson
Copy link
Contributor Author

This is right, but I'm missing the other part we talk about only use the CLI without render, the cluster is created and also the proper secrets like etcd-encryption, ssh, etc... From Ramon's feedback he metioned the secrets were not being deleted using the CLI in this case. It's worth to mention this?

@jparrill Good question. I can add a note stating that if you did not use the --render and --render-sensitive flags when you created the hosted cluster, you need to manually delete the resources.

@lahinson lahinson force-pushed the osdocs-15346-hcp-destroy-hc branch from ca723a7 to 2aad5ca Compare September 11, 2025 19:19
@openshift-ci openshift-ci bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 11, 2025
@lahinson lahinson force-pushed the osdocs-15346-hcp-destroy-hc branch from 2aad5ca to 9951988 Compare September 11, 2025 19:20
@racedo
Copy link

racedo commented Sep 12, 2025

Yes, agreed with @jparrill comment, for cli this covers it, forhcp create, hcp destroy then hcp create again with the same hosted cluster name then etcd persistent volumes retain encrypted data from the previous cluster, causing the new cluster's API server to fail during startup.

Copy link

@jparrill jparrill left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 12, 2025
@LiangquanLi930
Copy link
Member

/lgtm

@lahinson lahinson added the merge-review-needed Signifies that the merge review team needs to review this PR label Sep 15, 2025
= Destroying a hosted cluster on bare metal by using the CLI

You can use the `hcp` command-line interface (CLI) to destroy a hosted cluster on bare metal.
If you created a hosted cluster by using the command-line interface (CLI), you can destroy that hosted cluster and its back-end resources by deleting the configuration YAML file for the hosted cluster.
Copy link
Contributor

Choose a reason for hiding this comment

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

@lahinson, you're not actually deleting the configuration file though. oc delete removes the resource(s) described in the YAML configuration, which itself holds Kubernetes API objects.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jab-rh Thanks for the feedback. I revised the line to no longer state the the file is deleted.

@lahinson lahinson force-pushed the osdocs-15346-hcp-destroy-hc branch from 9951988 to 9f338aa Compare September 15, 2025 17:09
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 15, 2025
@openshift-ci
Copy link

openshift-ci bot commented Sep 15, 2025

New changes are detected. LGTM label has been removed.

@openshift-ci
Copy link

openshift-ci bot commented Sep 15, 2025

@lahinson: 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.

@jab-rh jab-rh merged commit 14cadf0 into openshift:main Sep 15, 2025
2 checks passed
@jab-rh
Copy link
Contributor

jab-rh commented Sep 15, 2025

/cherry-pick enterprise-4.20

@jab-rh
Copy link
Contributor

jab-rh commented Sep 15, 2025

/cherry-pick enterprise-4.19

@jab-rh
Copy link
Contributor

jab-rh commented Sep 15, 2025

/cherry-pick enterprise-4.18

@openshift-cherrypick-robot

@jab-rh: new pull request created: #99059

In response to this:

/cherry-pick enterprise-4.20

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.

@openshift-cherrypick-robot

@jab-rh: new pull request created: #99060

In response to this:

/cherry-pick enterprise-4.19

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.

@jab-rh
Copy link
Contributor

jab-rh commented Sep 15, 2025

/cherry-pick enterprise-4.17

@openshift-cherrypick-robot

@jab-rh: new pull request created: #99061

In response to this:

/cherry-pick enterprise-4.18

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.

@openshift-cherrypick-robot

@jab-rh: new pull request created: #99062

In response to this:

/cherry-pick enterprise-4.17

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.

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.

7 participants