// Module included in the following assemblies:
//
// * hosted_control_planes/hcp-disconnected/hcp-deploy-dc-virt.adoc

:_mod-docs-content-type: PROCEDURE
[id="hcp-monitor-cp_{context}"]
= Monitoring the control plane

[role="_abstract"]
While the deployment proceeds, you can monitor the control plane. 

You can gather information about the following artifacts:

* The HyperShift Operator
* The `HostedControlPlane` pod
* The bare-metal hosts
* The agents
* The `InfraEnv` resource
* The `HostedCluster` and `NodePool` resources

.Procedure

. Enter the following command to export the `kubeconfig` file for the deployment:
+
[source,terminal]
----
$ export KUBECONFIG=/root/.kcli/clusters/hub-ipv4/auth/kubeconfig
----

. Enter the following command to monitor the deployment:
+
[source,terminal]
----
$ watch "oc get pod -n hypershift;echo;echo;\
  oc get pod -n clusters-hosted-ipv4;echo;echo;\
  oc get bmh -A;echo;echo;\
  oc get agent -A;echo;echo;\
  oc get infraenv -A;echo;echo;\
  oc get hostedcluster -A;echo;echo;\
  oc get nodepool -A;echo;echo;"
----