Skip to content

Commit

Permalink
Merge pull request #673 from warjiang/fix/typo-in-promote-legacy-work…
Browse files Browse the repository at this point in the history
…load

fix: typo in promote-legacy-workload.md
  • Loading branch information
karmada-bot authored Aug 19, 2024
2 parents ecd9c74 + dc4c1fb commit fb495fb
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions docs/administrator/migration/promote-legacy-workload.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 2m12s
We can promote it to Karmada by executing the command below on the Karmada control plane.

```
[root@master1]# karmadactl promote deployment nginx -n default -c member1
[root@master1]# karmadactl promote deployment nginx -n default -C member1
Resource "apps/v1, Resource=deployments"(default/nginx) is promoted successfully
```

Expand All @@ -52,7 +52,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 15m
Most steps are same as those for clusters in `Push` mode. Only the flags of the `karmadactl promote` command are different.

```
karmadactl promote deployment nginx -n default -c cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
karmadactl promote deployment nginx -n default -C cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
```

For more flags and example about the command, you can use `karmadactl promote --help`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 2m12s
We can promote it to Karmada by executing the command below on the Karmada control plane.

```
[root@master1]# karmadactl promote deployment nginx -n default -c member1
[root@master1]# karmadactl promote deployment nginx -n default -C member1
Resource "apps/v1, Resource=deployments"(default/nginx) is promoted successfully
```

Expand All @@ -52,7 +52,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 15m
Most steps are same as those for clusters in `Push` mode. Only the flags of the `karmadactl promote` command are different.

```
karmadactl promote deployment nginx -n default -c cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
karmadactl promote deployment nginx -n default -C cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
```

For more flags and example about the command, you can use `karmadactl promote --help`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 2m12s
We can promote it to Karmada by executing the command below on the Karmada control plane.

```
[root@master1]# karmadactl promote deployment nginx -n default -c member1
[root@master1]# karmadactl promote deployment nginx -n default -C member1
Resource "apps/v1, Resource=deployments"(default/nginx) is promoted successfully
```

Expand All @@ -52,7 +52,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 15m
Most steps are same as those for clusters in `Push` mode. Only the flags of the `karmadactl promote` command are different.

```
karmadactl promote deployment nginx -n default -c cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
karmadactl promote deployment nginx -n default -C cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
```

For more flags and example about the command, you can use `karmadactl promote --help`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 2m12s
We can promote it to Karmada by executing the command below on the Karmada control plane.

```
[root@master1]# karmadactl promote deployment nginx -n default -c member1
[root@master1]# karmadactl promote deployment nginx -n default -C member1
Resource "apps/v1, Resource=deployments"(default/nginx) is promoted successfully
```

Expand All @@ -52,7 +52,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 15m
Most steps are same as those for clusters in `Push` mode. Only the flags of the `karmadactl promote` command are different.

```
karmadactl promote deployment nginx -n default -c cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
karmadactl promote deployment nginx -n default -C cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
```

For more flags and example about the command, you can use `karmadactl promote --help`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 2m12s
We can promote it to Karmada by executing the command below on the Karmada control plane.

```
[root@master1]# karmadactl promote deployment nginx -n default -c member1
[root@master1]# karmadactl promote deployment nginx -n default -C member1
Resource "apps/v1, Resource=deployments"(default/nginx) is promoted successfully
```

Expand All @@ -52,7 +52,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 15m
Most steps are same as those for clusters in `Push` mode. Only the flags of the `karmadactl promote` command are different.

```
karmadactl promote deployment nginx -n default -c cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
karmadactl promote deployment nginx -n default -C cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
```

For more flags and example about the command, you can use `karmadactl promote --help`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 2m12s
We can promote it to Karmada by executing the command below on the Karmada control plane.

```
[root@master1]# karmadactl promote deployment nginx -n default -c member1
[root@master1]# karmadactl promote deployment nginx -n default -C member1
Resource "apps/v1, Resource=deployments"(default/nginx) is promoted successfully
```

Expand All @@ -52,7 +52,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 15m
Most steps are same as those for clusters in `Push` mode. Only the flags of the `karmadactl promote` command are different.

```
karmadactl promote deployment nginx -n default -c cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
karmadactl promote deployment nginx -n default -C cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
```

For more flags and example about the command, you can use `karmadactl promote --help`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 2m12s
We can promote it to Karmada by executing the command below on the Karmada control plane.

```
[root@master1]# karmadactl promote deployment nginx -n default -c member1
[root@master1]# karmadactl promote deployment nginx -n default -C member1
Resource "apps/v1, Resource=deployments"(default/nginx) is promoted successfully
```

Expand All @@ -52,7 +52,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 15m
Most steps are same as those for clusters in `Push` mode. Only the flags of the `karmadactl promote` command are different.

```
karmadactl promote deployment nginx -n default -c cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
karmadactl promote deployment nginx -n default -C cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
```

For more flags and example about the command, you can use `karmadactl promote --help`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 2m12s
We can promote it to Karmada by executing the command below on the Karmada control plane.

```
[root@master1]# karmadactl promote deployment nginx -n default -c member1
[root@master1]# karmadactl promote deployment nginx -n default -C member1
Resource "apps/v1, Resource=deployments"(default/nginx) is promoted successfully
```

Expand All @@ -52,7 +52,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 15m
Most steps are same as those for clusters in `Push` mode. Only the flags of the `karmadactl promote` command are different.

```
karmadactl promote deployment nginx -n default -c cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
karmadactl promote deployment nginx -n default -C cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
```

For more flags and example about the command, you can use `karmadactl promote --help`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 2m12s
We can promote it to Karmada by executing the command below on the Karmada control plane.

```
[root@master1]# karmadactl promote deployment nginx -n default -c member1
[root@master1]# karmadactl promote deployment nginx -n default -C member1
Resource "apps/v1, Resource=deployments"(default/nginx) is promoted successfully
```

Expand All @@ -52,7 +52,7 @@ nginx-6799fc88d8-sqjj4 1/1 Running 0 15m
Most steps are same as those for clusters in `Push` mode. Only the flags of the `karmadactl promote` command are different.

```
karmadactl promote deployment nginx -n default -c cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
karmadactl promote deployment nginx -n default -C cluster1 --cluster-kubeconfig=<CLUSTER_KUBECONFIG_PATH>
```

For more flags and example about the command, you can use `karmadactl promote --help`.
Expand Down

0 comments on commit fb495fb

Please sign in to comment.