Skip to content

Commit

Permalink
Merge pull request #7405 from ctrox/rancher-clarify-docs
Browse files Browse the repository at this point in the history
docs(rancher): clarify single RKE2 target
  • Loading branch information
k8s-ci-robot authored Dec 30, 2024
2 parents 3fc72cf + da04e81 commit 03e2795
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cluster-autoscaler/cloudprovider/rancher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ underlying cluster-api types of RKE2.

## Configuration

The `cluster-autoscaler` for Rancher needs a configuration file to work by
using `--cloud-config` parameter. An up-to-date example can be found in
[examples/config.yaml](./examples/config.yaml).
The `cluster-autoscaler` for Rancher needs a configuration file to work by using
`--cloud-config` parameter. A `cluster-autoscaler` instance can target a single
downstream RKE2 cluster specified in the config. An up-to-date example can be
found in [examples/config.yaml](./examples/config.yaml).

### Configuration via environment variables

In order to override URL, token or clustername use following environment variables:
- RANCHER_URL
- RANCHER_TOKEN
Expand Down

0 comments on commit 03e2795

Please sign in to comment.