Skip to content
Open
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
11 changes: 8 additions & 3 deletions modules/restoring-etcd-snapshot-hosted-cluster.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ If you have a snapshot of etcd from your hosted cluster, you can restore it. Cur

To restore an etcd snapshot, you change the output from the `create cluster --render` command and define a `restoreSnapshotURL` value in the etcd section of the `HostedCluster` specification.

[NOTE]
[IMPORTANT]
====
The `--render` flag in the `hcp create` command does not render the secrets. To render the secrets, you must use both the `--render` and the `--render-sensitive` flags in the `hcp create` command.
If the snapshot that you are restoring is from a hosted cluster with a `LoadBalancer` service, the load balancer IP might no longer be valid. In that case, you must delete and re-create the `LoadBalancer` service.
====

.Prerequisites

You took an etcd snapshot on a hosted cluster.
* You took an etcd snapshot on a hosted cluster.

.Procedure

Expand Down Expand Up @@ -75,6 +75,11 @@ $ hcp create cluster <platform> \
* `<value_for_cpu>` specifies the CPU value, such as `2`.
* `<release_image_reference>` specifies the {product-title} release image for the cluster, for example, `quay.io/openshift-release-dev/ocp-release:4.20.14-multi`. You can use the `--release-image` flag to set up the hosted cluster with a specific {product-title} release.
+
[NOTE]
====
The `--render` flag in the `hcp create` command does not render the secrets. To render the secrets, you must use both the `--render` and the `--render-sensitive` flags in the `hcp create` command.
====
+
.Example output
[source,yaml]
----
Expand Down