File tree 2 files changed +17
-19
lines changed
cluster-manager/chart/cluster-manager
klusterlet/chart/klusterlet
2 files changed +17
-19
lines changed Original file line number Diff line number Diff line change 3
3
The cluster-manager provides the multicluster hub, which can manage Kubernetes-based clusters across data centers,
4
4
public clouds, and private clouds. This operator supports the installation and upgrade of ClusterManager.
5
5
6
- # Get Repo Info
6
+ ## Get Repo Info
7
7
8
8
``` bash
9
9
helm repo add ocm https://open-cluster-management.io/helm-charts
10
10
helm repo update
11
11
helm search repo ocm
12
12
```
13
13
14
- # Install the Chart
14
+ ## Install the Chart
15
15
16
16
For example, install the chart into ` open-cluster-management ` namespace.
17
17
18
18
``` bash
19
- $ helm install cluster-manager --version < version> ocm/cluster-manager --namespace=open-cluster-management --create-namespace
19
+ helm install cluster-manager --version < version> ocm/cluster-manager --namespace=open-cluster-management --create-namespace
20
20
```
21
21
22
- # Uninstall the Chart
22
+ ## Uninstall
23
23
24
- ## Delete all managedClusters before uninstall the Chart.
24
+ ### Delete all managedClusters before uninstall the Chart
25
25
26
26
``` bash
27
27
kubectl get managedcluster | awk ' {print $1}' | xargs kubectl delete managedcluster
28
28
```
29
29
30
- ## And then delete the clusterManager CR.
30
+ ### And then delete the clusterManager CR
31
31
32
32
``` bash
33
33
kubectl delete clustermanagers cluster-manager
34
34
```
35
35
36
- ## Uninstall the Chart
36
+ ### Uninstall the Chart
37
37
38
38
``` bash
39
- helm uninstall cluster-manager
39
+ helm uninstall cluster-manager --namespace=open-cluster-management
40
40
```
41
-
Original file line number Diff line number Diff line change 3
3
The klusterlet provides the registration to the Hub clusters as a managed cluster.
4
4
This operator supports the installation and upgrade of klusterlet.
5
5
6
- # Prerequisites
6
+ ## Prerequisites
7
7
8
8
You need a Hub cluster which has installed clusterManager operator.
9
9
10
- # Get Repo Info
10
+ ## Get Repo Info
11
11
12
12
``` bash
13
13
helm repo add ocm https://open-cluster-management.io/helm-charts
14
14
helm repo update
15
15
helm search repo ocm
16
16
```
17
17
18
- # Install the Chart
18
+ ## Install the Chart
19
19
20
- ### Run klusterlet on Default mode.
20
+ ### Run klusterlet on Default mode
21
21
22
22
Install the Chart on the managed cluster:
23
23
@@ -43,7 +43,7 @@ helm install klusterlet --version <version> ocm/klusterlet \
43
43
> You can create the ` bootstrap-hub-kubeconfig ` secret in the ` open-cluster-management-agent ` namespace
44
44
> after install the chart without setting ` bootstrapHubKubeConfig ` .
45
45
46
- ### Run klusterlet on Hosted mode.
46
+ ### Run klusterlet on Hosted mode
47
47
48
48
Install the Chart on the hosting cluster without installing operator:
49
49
@@ -68,17 +68,16 @@ helm install <klusterlet name> --version <version> ocm/klusterlet \
68
68
> You can create the ` bootstrap-hub-kubeconfig ` and ` externalManagedKubeConfig ` secrets in the ` klusterlet-<cluster name> ` namespace
69
69
> after install the chart without setting ` bootstrapHubKubeConfig ` and ` externalManagedKubeConfig ` .
70
70
71
+ ## Uninstall
71
72
72
- # Uninstall the Chart
73
-
74
- ## Delete the klusterlet CR.
73
+ ### Delete the klusterlet CR
75
74
76
75
``` bash
77
76
kubectl delete klusterlet < klusterlet name>
78
77
```
79
78
80
- ## Uninstall the Chart
79
+ ### Uninstall the Chart
81
80
82
81
``` bash
83
- helm uninstall < klusterlet name >
82
+ helm uninstall klusterlet --namespace=open-cluster-management
84
83
```
You can’t perform that action at this time.
0 commit comments