Closed alfespa17 closed 1 month ago
Adding option to specify node selector when running the executor component in ephemeral mode.
To use it we need to add the following:
api: env: - name: JAVA_TOOL_OPTIONS value: "-Dorg.terrakube.executor.ephemeral.nodeSelector.diskType=ssd -Dorg.terrakube.executor.ephemeral.nodeSelector.nodeType=spot"
The above will basically be the equivalent to:
nodeSelector: disktype: ssd nodeType: spot
We just need to add the nodeSelector properties inside the application.property Dorg.terrakube.executor.ephemeral.nodeSelector.XXX=YYYY using JAVA_TOOL_OPTIONS environment variable to add the values.
Dorg.terrakube.executor.ephemeral.nodeSelector.XXX=YYYY
Fix #1168
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 50.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
Adding option to specify node selector when running the executor component in ephemeral mode.
To use it we need to add the following:
The above will basically be the equivalent to:
We just need to add the nodeSelector properties inside the application.property
Dorg.terrakube.executor.ephemeral.nodeSelector.XXX=YYYY
using JAVA_TOOL_OPTIONS environment variable to add the values.Fix #1168