Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion clusters/discovery/discovery_config_cli.adoc
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -39,6 +39,10 @@ spec:

View discovered clusters by running `oc get discoveredclusters -n <namespace>` where `namespace` is the namespace where the discovery credential exists.

You can view the Region from the command line tool, as well. Run the following command to view the `DiscoveredCluster` region:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please check this line and add command?

//need command

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]
Expand Down
37 changes: 14 additions & 23 deletions clusters/discovery/discovery_config_ui.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only removed header there and light editing


.. 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.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed non-relevant lines here, as requested by engineer.

- _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.