Skip to content

Commit

Permalink
Merge pull request kubeedge#653 from Shelley-BaoYue/inclusterconfig
Browse files Browse the repository at this point in the history
fix errors in inclusterconfig doc
  • Loading branch information
kubeedge-bot authored Jan 8, 2025
2 parents 6e2b562 + bb1dab1 commit cee77cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/advanced/inclusterconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Please ref to [support in-cluster config proposal](https://github.com/kubeedge/k
When using `keadm init` to deploy CloudCore, please enable `dynamiccontroller` module and `requireAuthorization` featureGate:

```
keadm init --advertise-address="THE-EXPOSED-IP" --kubeedge-version=v1.17.0 --set cloudCore.modules.dynamicController.enable=true cloudCore.featureGates.requireAuthorization=true
keadm init --advertise-address="THE-EXPOSED-IP" --kubeedge-version=v1.17.0 --set cloudCore.modules.dynamicController.enable=true,cloudCore.featureGates.requireAuthorization=true
```

If you have already deployed CloudCore without set `dynamiccontroller` and featureGate, you can modify the configuration following these steps:
Expand Down Expand Up @@ -70,7 +70,7 @@ featureGates:
modules:
...
metaServer:
enable: false
enable: true
...
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_
当您使用`keadm init`来安装CloudCore时,请打开`dynamiccontroller`模块以及`requireAuthorization`特性开关:

```
keadm init --advertise-address="THE-EXPOSED-IP" --kubeedge-version=v1.17.0 --set cloudCore.modules.dynamicController.enable=true cloudCore.featureGates.requireAuthorization=true
keadm init --advertise-address="THE-EXPOSED-IP" --kubeedge-version=v1.17.0 --set cloudCore.modules.dynamicController.enable=true,cloudCore.featureGates.requireAuthorization=true
```

如果您已经安装过CloudCore,并且在安装时没有配置`dynamiccontroller`模块以及`requireAuthorization`特性开关,请按照以下步骤修改配置:
Expand Down Expand Up @@ -70,7 +70,7 @@ featureGates:
modules:
...
metaServer:
enable: false
enable: true
...
```

Expand Down

0 comments on commit cee77cc

Please sign in to comment.