Skip to content

Commit

Permalink
Merge pull request #6179 from dlipovetsky/master
Browse files Browse the repository at this point in the history
clusterapi: Add 'watch' verb to scale-from-zero example
  • Loading branch information
k8s-ci-robot authored Oct 9, 2023
2 parents bd5233d + 60fcea2 commit 834ec22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cluster-autoscaler/cloudprovider/clusterapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ If you are using the opt-in support for scaling from zero as defined by the
Cluster API infrastructure provider, you will need to add the infrastructure
machine template types to your role permissions for the service account
associated with the cluster autoscaler deployment. The service account will
need permission to `get` and `list` the infrastructure machine templates for
your infrastructure provider.
need permission to `get`, `list`, and `watch` the infrastructure machine
templates for your infrastructure provider.

For example, when using the [Kubemark provider](https://github.com/kubernetes-sigs/cluster-api-provider-kubemark)
you will need to set the following permissions:
Expand All @@ -254,6 +254,7 @@ rules:
verbs:
- get
- list
- watch
```

#### Pre-defined labels and taints on nodes scaled from zero
Expand Down

0 comments on commit 834ec22

Please sign in to comment.