// Module included in the following assemblies:
//
// * hosted_control_planes/hcp-deploy/hcp-deploy-bm.adoc

:_mod-docs-content-type: PROCEDURE
[id="hcp-bm-verify_{context}"]
= Verifying hosted cluster creation

[role="_abstract"]
After the deployment process is complete, you can verify that the hosted cluster was created successfully.

After you create the hosted cluster, wait a few minutes before you start the steps in the procedure.

.Procedure

. Obtain the kubeconfig for your new hosted cluster by entering the extract command:
+
[source,terminal]
----
$ oc extract -n <hosted-control-plane-namespace> secret/admin-kubeconfig \
  --to=- > kubeconfig-<hosted-cluster-name>
----

. Use the kubeconfig to view the cluster Operators of the hosted cluster. Enter the following command:
+
[source,terminal]
----
$ oc get co --kubeconfig=kubeconfig-<hosted-cluster-name>
----
+
.Example output
----
NAME                                       VERSION   AVAILABLE   PROGRESSING   DEGRADED   SINCE   MESSAGE
console                                    4.10.26   True        False         False      2m38s
dns                                        4.10.26   True        False         False      2m52s
image-registry                             4.10.26   True        False         False      2m8s
ingress                                    4.10.26   True        False         False      22m
----

. You can also view the running pods on your hosted cluster by entering the following command:
+
[source,terminal]
----
$ oc get pods -A --kubeconfig=kubeconfig-<hosted-cluster-name>
----
+
.Example output
----
NAMESPACE                                          NAME                                                      READY   STATUS             RESTARTS        AGE
kube-system                                        konnectivity-agent-khlqv                                  0/1     Running            0               3m52s
openshift-cluster-node-tuning-operator             tuned-dhw5p                                               1/1     Running            0               109s
openshift-cluster-storage-operator                 cluster-storage-operator-5f784969f5-vwzgz                 1/1     Running            1 (113s ago)    20m
openshift-cluster-storage-operator                 csi-snapshot-controller-6b7687b7d9-7nrfw                  1/1     Running            0               3m8s
openshift-console                                  console-5cbf6c7969-6gk6z                                  1/1     Running            0               119s
openshift-console                                  downloads-7bcd756565-6wj5j                                1/1     Running            0               4m3s
openshift-dns-operator                             dns-operator-77d755cd8c-xjfbn                             2/2     Running            0               21m
openshift-dns                                      dns-default-kfqnh                                         2/2     Running            0               113s
----