diff --git a/clusters/discovery/discovery_config_cli.adoc b/clusters/discovery/discovery_config_cli.adoc index e6739d59ab..dee072f6d2 100644 --- a/clusters/discovery/discovery_config_cli.adoc +++ b/clusters/discovery/discovery_config_cli.adoc @@ -1,7 +1,7 @@ [#discovery-enable-cli] = Enable Discovery using the CLI -Enable discovery using the CLI to find clusters that are available from {ocm}. +Enable discovery using the CLI to find clusters that are available from {ocm}. **Required access**: Administrator @@ -37,8 +37,8 @@ spec: [#view-discovered-cluster] == View discovered clusters -View discovered clusters by running `oc get discoveredclusters -n ` where `namespace` is the namespace where the discovery credential exists. - +View discovered clusters by running `oc get discoveredclusters -n ` where `namespace` is the namespace where the discovery credential exists. You can use the same command to view the region if you have a region set. + Objects are created by the Discovery controller. These `DiscoveredClusters` represent the clusters that are found in {ocm} by using the filters and credentials that are specified in the `DiscoveryConfig` `discoveredclusters.discovery.open-cluster-management.io` API. The value for `name` is the cluster external ID: [source,yaml] diff --git a/clusters/discovery/discovery_config_ui.adoc b/clusters/discovery/discovery_config_ui.adoc index f8f945a463..106ea7b0eb 100644 --- a/clusters/discovery/discovery_config_ui.adoc +++ b/clusters/discovery/discovery_config_ui.adoc @@ -13,34 +13,25 @@ After you discover clusters, you can import clusters that appear in the _Discove * You need access to the namespaces that were used to configure Discovery. -[#import-discovered] -== Import discovered clusters from the console - -To manually import other infrastructure provider discovered clusters, complete the following steps: - -. Go to the existing _Clusters_ page and click the *Discovered clusters* tab. -. From the _Discovered clusters_ table, find the cluster that you want to import. -. From the options menu, choose *Import cluster*. -. For discovered clusters, you can import manually using the documentation, or you can choose Import clusters automatically. -. To import automatically with your credentials or Kubeconfig file, copy and paste the content. -. Click *Import*. - -[#discovery-view] -== View discovered clusters - -After you set up your credentials and discover your clusters for import, you can view them in the console. - -. Click *Clusters* > *Discovered clusters*. -. View the populated table with the following information: +. Manually import discovered clusters from the console. To import other infrastructure provider discovered clusters, complete the following steps: + +.. Go to the existing _Clusters_ page and click the *Discovered clusters* tab. +.. From the _Discovered clusters_ table, find the cluster that you want to import. +.. From the options menu, choose *Import cluster*. +.. For discovered clusters, you can import manually using the documentation, or you can choose Import clusters automatically. +.. To import automatically with your credentials or `kubeconfig` file, copy and paste the content. +.. Click *Import*. + +. View and search discovered clusters in the console after you set up your credentials. +.. Click *Clusters* > *Discovered clusters*. +.. View the populated table with the following information: - _Name_ is the display name that is designated in {ocm}. If the cluster does not have a display name, a generated name based on the cluster console URL is displayed. If the console URL is missing or was modified manually in {ocm}, the cluster external ID is displayed. - _Namespace_ is the namespace where you created the credential and discovered clusters. - - _Type_ is the discovered cluster Red Hat OpenShift type. + - _Type_ is the discovered cluster {ocp-short} platform type. - _Distribution version_ is the discovered cluster Red Hat OpenShift version. - - _Infrastructure provider_ is the cloud provider of the discovered cluster. + - _Infrastructure provider_ is the cloud provider of the discovered cluster. - _Last active_ is the last time the discovered cluster was active. - _Created_ when the discovered cluster was created. - _Discovered_ when the discovered cluster was discovered. - - _Cluster types_ is the platform type of the cluster, such as {ocp-short} or {rosa}. - - _Infrastructure providers_ filters by where the cluster is running, such as Amazon Web Services (AWS) or Microsoft Azure. . You can search for any information in the table, as well. For example, to show only _Discovered clusters_ in a particular namespace, search for that namespace. . You can now click *Import cluster* to create managed clusters.