Skip to content

Set requests and limits for the keycloak deployment #20107

Closed as not planned
Closed as not planned

Description

@Jumziey

When specifying the Keycloak kind you have no way to actually set the limits and requests without going via the unsupported route.

This is of particular interest if you use karpenter but generally is good practice so no pods start to get OOM killed or similar.

Activity

  1. vmuzikar commented on May 3, 2023

    @vmuzikar
    Contributor

    @Jumziey Hello, you should be able to set pod requests and limits via the podTemplate field.

  2. Jumziey commented on May 3, 2023

    @Jumziey
    Author
    unsupported:
      description: |-
        In this section you can configure podTemplate advanced features, not production-ready, and not supported settings.
        Use at your own risk and open an issue with your use-case if you don't find an alternative way.
    

    podTemplate lies under unsupported and it asks you to create an issue if you can't find any other way but to use unsupported options.

    If this is no longer the case the description might need an update 🤔

  3. vmuzikar commented on May 3, 2023

    @vmuzikar
    Contributor

    @Jumziey The description still stands. :) Let's reopen this as an RFE then. Thanks.

  4. added
    area/operator
    on May 3, 2023
  5. added
    kind/enhancement
    on May 3, 2023
  6. shawkins commented on Jun 10, 2023

    @shawkins
    Contributor

    Another issue with using the unsupported mechanism is that the process launch seems to default to use the values "-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m" rather than relying upon jvm ergonomics or similar to infer them. That means you'd have to know to set both the resources and override the JAVA_OPTS environment variable.

  7. self-assigned this
    on Oct 17, 2023
  8. vmuzikar commented on Feb 2, 2024

    @vmuzikar
    Contributor

    Duplicate of #26456

  9. moved this from Backlog 🗃 to Done ✅ in Keycloak.X: Operatoron Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/operatorkind/enhancementteam/cloud-native

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions