eclipse-theia / theia-cloud

Eclipse Public License 2.0
61 stars 34 forks source link

Improve Kubernetes resource naming #324

Closed lucas-koehler closed 3 months ago

lucas-koehler commented 3 months ago

Currently, naming of session resources (deployment, pod, config maps, etc) are not very useful. They start with a UUID which takes up most of the name and is followed by some part of the user and app definition.

We should improve naming to consistently start with session and have fixed length segments for user, app definition and part of a uuid.

Something like: session-<user>-<appdef>-<uuid> with each segment being limited in characters to not exceed the maximum length of 63 characters.