Skip to content

Commit

Permalink
[Kuberay] Updated kuberay-autoscaler.yaml to create service account (r…
Browse files Browse the repository at this point in the history
…ay-project#22188)

Added lines to autoscaler configuration yaml to create a service account that is used to give the autoscaler permissions to list and read pods and patch the cluster CRD for up/downscaling.
  • Loading branch information
sriram-anyscale authored Feb 8, 2022
1 parent 8f7db1c commit d06317e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/ray/autoscaler/kuberay/kuberay-autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ data:
head_node: {}
worker_nodes: {}
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: autoscaler-sa
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down

0 comments on commit d06317e

Please sign in to comment.