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

Need a webhook to constrain user input #294

Open
Poor12 opened this issue Dec 7, 2023 · 0 comments
Open

Need a webhook to constrain user input #294

Poor12 opened this issue Dec 7, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Poor12
Copy link
Collaborator

Poor12 commented Dec 7, 2023

As the fields of policy API expand, there are more and more composite scenarios that require verification.
Though we can disable user misconfiguration at runtime, it is not as effective as blocking user input at the source.
At the same time, users configure fields in the API, but it does not take effect, which also makes users confused.

For example,
SchedulingMode is Duplicate, will not work with replicaStrategy.
ReplicaStrategy is spread, will not work with maxClusters.

Moreover, in the early stages of some features, we can prevent some unpredictable scenarios by limiting its changes.
We will not allow users to make these kinds of modifications until we have fully verified it.

For example, users change replicaStrategy=weighted to binpack.

@Poor12 Poor12 added enhancement New feature or request help wanted Extra attention is needed labels Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant