Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create scaling objects instead of hpa #1116

Merged
merged 31 commits into from
May 16, 2024

Conversation

Richard87
Copy link
Contributor

No description provided.

Copy link
Contributor

@nilsgstrabo nilsgstrabo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some suggestions and comments.
We must also add ScaledObject to the radix-operator clusterrole (all verbs), and to the radix-api and radix-app-admin-envs clusterroles (get, list, watch) if radix-api needs to read the ScaledObject.

pkg/apis/utils/init.go Outdated Show resolved Hide resolved
pkg/apis/utils/scaler.go Outdated Show resolved Hide resolved
pkg/apis/radixvalidators/validate_ra_test.go Outdated Show resolved Hide resolved
pkg/apis/radixvalidators/validate_ra_test.go Outdated Show resolved Hide resolved
pkg/apis/radixvalidators/validate_ra_test.go Outdated Show resolved Hide resolved
pkg/apis/radixvalidators/validate_ra_test.go Outdated Show resolved Hide resolved
pkg/apis/deployment/kubedeployment.go Outdated Show resolved Hide resolved
pkg/apis/deployment/deployment.go Outdated Show resolved Hide resolved
pkg/apis/deployment/scaledobject.go Show resolved Hide resolved
pkg/apis/deployment/scaledobject.go Show resolved Hide resolved
@Richard87
Copy link
Contributor Author

Added some suggestions and comments. We must also add ScaledObject to the radix-operator clusterrole (all verbs), and to the radix-api and radix-app-admin-envs clusterroles (get, list, watch) if radix-api needs to read the ScaledObject.

Fixed, added get,list,watch to app admins and app readers (in -envs cluster roles), and get,list,create,update,patch,delete,watch to Radix Operator

@Richard87 Richard87 merged commit 70b52cf into master May 16, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants