Add struct to allow universal method of setting jvm parameters
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- kubernetes, rust
Línea de trabajo
El issue no nombra ningún archivo, prueba ni punto de entrada. Empieza localizando los tipos de configuración públicos del framework del operador y, después, compara las opciones HashMap, Vec y estructura personalizada con los requisitos de combinación indicados. Se considera terminado cuando se publique una estructura reutilizable de parámetros de JVM con una representación y un comportamiento de combinación acordados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A customer wanted to override the jvm heap settings for the Druid operator today and was unable to do this.
In this specific instance it was resolved by the addition of resource configs to the Druid operator, which barely missed the last release window and hence is only available in the nightly version at the moment.
In the future it may become necessary though to allow users to override jvm parameter in some operators and ideally we'll want to do this in a universal way.
We should publish a struct in the operator framework that can be used by operators to allow setting these settings.
We have considered multiple versions of this:
- A HashMap<String, String>
- A Vec
- A custom struct with both a HashMap and a List to accomodate both
All of these have drawbacks and benefits, especiallly when considering how to merge these.
At the moment we tend towards option 2 as this is the most simple one.
The downside is, that is doesn't allow merging with higher level structs to for example override the value of -Xmaxmx=100 with -Xmaxmx=200 for a rolegroup, as this is only a string to us and we won't understand that it refers to the same setting.
We do think that this is an acceptable compromise, since hopefully the need to override values here should not be too frequent.
- Lenguaje dominante
- Rust
- Estrellas
- 167
- Forks
- 19
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 9
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de stackabletech/operator-rs
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
stackabletech/operator-rs#1273 · 1 comentario ·
-
Improve label mechanisms Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
stackabletech/operator-rs#1077 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
stackabletech/operator-rs#1063 ·
-
stackable-versioned: Require inner module definitions to have the same visibility as the parent Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
stackabletech/operator-rs#1028 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
stackabletech/operator-rs#965 ·
Todos los issues de stackabletech/operator-rs
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
agentic-workflows
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
web-infra-dev/rspack#15847 ·