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

Overwrite resources for individual tool users #1951

Open
MoritzWeber0 opened this issue Nov 4, 2024 · 0 comments · May be fixed by #1981
Open

Overwrite resources for individual tool users #1951

MoritzWeber0 opened this issue Nov 4, 2024 · 0 comments · May be fixed by #1981
Assignees

Comments

@MoritzWeber0
Copy link
Member

Since our production instances have an increased number of users, the user base got also diverse. We have many different resource requirements for users.

Instead of fixed resources, add different resource profiles for tools:

config:
  resources:
    profiles:
      default:
        cpu:
          requests: 0.5
          limits: 1
        memory:
          requests: 2Gi
          limits: 4Gi
      high:
        cpu:
          requests: 1.2
          limits: 2
        memory:
          requests: 4.5Gi
          limits: 7Gi
        usernames: 
          - janedoe
          - johndoe

The default profile is required and doesn't apply to all users per default. Additional profiles are allowed and require a usernames attribute. A username can only be listed in one profile. If the user is listed in the profile, the profile will apply for the user. The tool configuration has to be updated for removed and auto-renamed users.

Open questions:

  • Do we want to use the user id instead of the username in the list? The we don't need to handle username changes, but it's less intuitive.
  • Do we want to do a proper database mapping to users? Then we would need a UI instead of YAML editor.
@MoritzWeber0 MoritzWeber0 moved this from Backlog to Planned in Capella Collaboration Roadmap 🚀 Nov 4, 2024
@zusorio zusorio self-assigned this Nov 12, 2024
@zusorio zusorio moved this from Planned to In Progress in Capella Collaboration Roadmap 🚀 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for Review
Development

Successfully merging a pull request may close this issue.

2 participants