Skip to content

Commit 59af1bc

Browse files
committed
doc: make the chart installation doc easier to understand.
Signed-off-by: jwcesign <[email protected]>
1 parent bf1098b commit 59af1bc

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

charts/karmada/README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -23,41 +23,41 @@ To install the chart with the release name `karmada` in namespace `karmada-syste
2323

2424
- local installation
2525

26-
Switch to the `root` directory of the repo.
26+
Switch to the `root` directory of the repo.
2727

28-
```console
29-
helm install karmada -n karmada-system --create-namespace --dependency-update ./charts/karmada
30-
```
28+
```console
29+
helm install karmada -n karmada-system --create-namespace --dependency-update ./charts/karmada
30+
```
3131

3232
- remote installation
3333

34-
First, add the Karmada chart repo to your local repository.
34+
First, add the Karmada chart repo to your local repository.
3535

36-
```console
37-
$ helm repo add karmada-charts https://raw.githubusercontent.com/karmada-io/karmada/master/charts
38-
$ helm repo list
39-
NAME URL
40-
karmada-charts https://raw.githubusercontent.com/karmada-io/karmada/master/charts
41-
```
36+
```console
37+
$ helm repo add karmada-charts https://raw.githubusercontent.com/karmada-io/karmada/master/charts
38+
$ helm repo list
39+
NAME URL
40+
karmada-charts https://raw.githubusercontent.com/karmada-io/karmada/master/charts
41+
```
4242

43-
With the repo added, available charts and versions can be viewed.
43+
With the repo added, available charts and versions can be viewed.
4444

45-
```console
46-
helm search repo karmada
47-
```
45+
```console
46+
helm search repo karmada
47+
```
4848

49-
Install the chart and specify the version to install with the --version argument. Replace <x.x.x> with your desired version.
49+
Install the chart and specify the version to install with the --version argument. Replace <x.x.x> with your desired version.
5050

51-
```console
52-
helm --namespace karmada-system upgrade -i karmada karmada-charts/karmada --version=<x.x.x> --create-namespace
53-
Release "karmada" does not exist. Installing it now.
54-
NAME: karmada
55-
LAST DEPLOYED: Mon May 30 07:19:36 2022
56-
NAMESPACE: karmada-system
57-
STATUS: deployed
58-
REVISION: 1
59-
TEST SUITE: None
60-
```
51+
```console
52+
helm --namespace karmada-system upgrade -i karmada karmada-charts/karmada --version=<x.x.x> --create-namespace
53+
Release "karmada" does not exist. Installing it now.
54+
NAME: karmada
55+
LAST DEPLOYED: Mon May 30 07:19:36 2022
56+
NAMESPACE: karmada-system
57+
STATUS: deployed
58+
REVISION: 1
59+
TEST SUITE: None
60+
```
6161

6262
Get kubeconfig from the cluster:
6363

@@ -107,7 +107,7 @@ The command removes all the Kubernetes components associated with the chart and
107107
108108
```console
109109
kubectl delete sa/karmada-pre-job -nkarmada-system
110-
kubectl delete clusterRole/karmada-pre-job
110+
kubectl delete clusterRole/karmada-pre-job
111111
kubectl delete clusterRoleBinding/karmada-pre-job
112112
kubectl delete ns karmada-system
113113
```

0 commit comments

Comments
 (0)