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

Improve session pod labels #362

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Oct 22, 2024

  1. Improve session pod labels

    org.eclipse.theia.cloud.common.util.LabelsUtil is added to encapsulate
    creation of labels.
    
    To indicate that a pod is a user session, its
    'app.kubernetes.io/component' label is set to 'session'.
    
    For custom labels, we use the prefix 'theia-cloud.io'.
    
    This is currently used for:
    - Identifying a session pods associated with a user:
      'theia-cloud.io/user' = '$username'
    - Identifying a session pod by appdefinition name:
      'theia-cloud.io/app-definition' = $appdefinitionname
    
    Signed-off-by: Olaf Lessenich <[email protected]>
    xai committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    acb9f2e View commit details
    Browse the repository at this point in the history