spacewander commented on code in PR #7901:
URL: https://github.com/apache/apisix/pull/7901#discussion_r971621484


##########
docs/en/latest/stand-alone.md:
##########
@@ -34,13 +34,15 @@ The routing rules in the `conf/apisix.yaml` file are loaded 
into memory immediat
 
 Since the current Admin API is based on the etcd configuration center 
solution, enable Admin API is not allowed when the Stand-alone mode is enabled.
 
-To enable Stand-alone mode, we can set `apisix.config_center` to `yaml` and 
disable Admin API in file `conf/config.yaml`.
+The Stand-alone mode can only be enabled when set the role of APISIX as data 
plane. We can set `deployment.role` to `data_plane` and 
`deployment.role_data_plane.config_provider` to `yaml`, and also need to 
disable Admin API in file `conf/config.yaml`.

Review Comment:
   When we set `deployment.role` to `data_plane`, the admin API is disabled 
automatically.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to