You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
* Update add clusterRemoved context from command and updated screenshot* Update image for add cluster* Update managed-cluster.mdCommented out note on results of removing cluster
1. In the Add Managed Cluster panel, copy and run the command:
34
+
35
+
`cf cluster add <runtime-name> [--dry-run]`
37
36
where:
38
37
`<runtime-name>` is the runtime to which to register the cluster. The name of the selected runtime is automatically added.
39
-
`<context_name>` is the kube context with the credentials to communicate with the managed cluster. If not supplied, the CLI displays the list of available clusters as defined in`kubeconfig`.
40
38
`--dry-run` is optional, and required if you want to generate a list of YAML manifests that you can redirect and apply manually with`kubectl`.
41
39
42
40
{% include
@@ -46,10 +44,12 @@ Optionally, to first generate the YAML manifests, and then manually apply them,
1. When prompted, select the kube context from the list of available clusters as defined in`kubeconfig`. The kube context must have the credentials to communicate with the managed cluster.
52
+
53
53
1. If you used`dry-run`, apply the generated manifests to the same target cluster on which you ran the command.
54
54
Here is an example of the YAML manifest generated with the`--dry-run` flag. Note that there are placeholders in the example, which are replaced with the actual values with`--dry-run`.
55
55
@@ -222,7 +222,7 @@ Use the Topology or List runtime views to work with managed clusters. For inform
222
222
223
223
**Remove cluster**
224
224
Remove a cluster registered with a runtime from the runtime's list of managed clusters.
225
-
>Removing a managed cluster from a runtime also removes all the applications deployed to the cluster, and removes their data from the Applications dashboard.
225
+
<!-->>Removing a managed cluster from a runtime also removes all the applications deployed to the cluster, and removes their data from the Applications dashboard.-->
226
226
227
227
**How to**
228
228
1. In the Codefresh UI, go to the [Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"} page.