mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +00:00
docs: fix up some stray resin references
Change-type: patch Signed-off-by: Matthew McGinn <matthew@balena.io>
This commit is contained in:
parent
ac0bfaaa1f
commit
331b109a64
@ -545,7 +545,7 @@ guaranteed to work, especially if they block connections that the balena service
|
|||||||
Keep in mind that, even if transparent proxy redirection will take effect immediately after the API call (i.e. all new connections will go through the proxy), open connections will not be closed. So, if for example, the device has managed to connect to the balenaCloud VPN without the proxy, it will stay connected directly without trying to reconnect through the proxy, unless the connection breaks - any reconnection attempts will then go through the proxy. To force *all* connections to go through the proxy, the best way is to reboot the device (see the /v1/reboot endpoint). In most networks were no connections to the Internet can be made if not through a proxy, this should not be necessary (as there will be no open connections before configuring the proxy settings).
|
Keep in mind that, even if transparent proxy redirection will take effect immediately after the API call (i.e. all new connections will go through the proxy), open connections will not be closed. So, if for example, the device has managed to connect to the balenaCloud VPN without the proxy, it will stay connected directly without trying to reconnect through the proxy, unless the connection breaks - any reconnection attempts will then go through the proxy. To force *all* connections to go through the proxy, the best way is to reboot the device (see the /v1/reboot endpoint). In most networks were no connections to the Internet can be made if not through a proxy, this should not be necessary (as there will be no open connections before configuring the proxy settings).
|
||||||
|
|
||||||
The "noProxy" setting for the proxy is an optional array of IP addresses/subnets that should not be routed through the
|
The "noProxy" setting for the proxy is an optional array of IP addresses/subnets that should not be routed through the
|
||||||
proxy. Keep in mind that local/reserved subnets are already [excluded by balenaOS automatically](https://github.com/resin-os/meta-resin/blob/master/meta-resin-common/recipes-connectivity/resin-proxy-config/resin-proxy-config/resin-proxy-config#L48).
|
proxy. Keep in mind that local/reserved subnets are already [excluded by balenaOS automatically](https://github.com/balena-os/meta-balena/blob/master/meta-resin-common/recipes-connectivity/resin-proxy-config/resin-proxy-config/resin-proxy-config#L48).
|
||||||
|
|
||||||
If either "proxy" or "hostname" are null or empty values (i.e. `{}` for proxy or an empty string for hostname), they will be cleared to their default values (i.e. not using a proxy, and a hostname equal to the first 7 characters of the device's uuid, respectively).
|
If either "proxy" or "hostname" are null or empty values (i.e. `{}` for proxy or an empty string for hostname), they will be cleared to their default values (i.e. not using a proxy, and a hostname equal to the first 7 characters of the device's uuid, respectively).
|
||||||
|
|
||||||
@ -660,7 +660,7 @@ curl -X POST \
|
|||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-H 'Authorization: Bearer <auth token>' \
|
-H 'Authorization: Bearer <auth token>' \
|
||||||
-d '{"uuid": "<uuid>", "method": "GET"}' \
|
-d '{"uuid": "<uuid>", "method": "GET"}' \
|
||||||
"https://api.resin.io/supervisor/v2/applications/state"
|
"https://api.balena-cloud.com/supervisor/v2/applications/state"
|
||||||
```
|
```
|
||||||
|
|
||||||
### GET /v2/applications/:appId/state
|
### GET /v2/applications/:appId/state
|
||||||
@ -702,7 +702,7 @@ This will return a list of images, containers, the overall download progress and
|
|||||||
|
|
||||||
From an application container:
|
From an application container:
|
||||||
```bash
|
```bash
|
||||||
curl "$BALENA_SUPERVISOR_ADDRESS/v2/state/status?apikey=$RESIN_SUPERVISOR_API_KEY"
|
curl "$BALENA_SUPERVISOR_ADDRESS/v2/state/status?apikey=$BALENA_SUPERVISOR_API_KEY"
|
||||||
```
|
```
|
||||||
|
|
||||||
Response:
|
Response:
|
||||||
|
Loading…
Reference in New Issue
Block a user