GHA Runner scale set pods are not coming up with the desired ENV Variables set (ACTIONS_RUNNER_CONTAINER_HOOK_TEMPLATE)) #3665
Labels
bug
Something isn't working
gha-runner-scale-set
Related to the gha-runner-scale-set mode
needs triage
Requires review from the maintainers
Checks
Controller Version
0.9.3
Deployment Method
Helm
Checks
To Reproduce
markdown
1.Deploying the gha-runner-scale-set by adding the below env variables set to enable resource limits and requests for the workflow pods using the ACTIONS_RUNNER_CONTAINER_HOOK_TEMPLATE environment variable.
The workflow pods should include the ACTIONS_RUNNER_CONTAINER_HOOK_TEMPLATE environment variable and volume mount but it doesn't show up when describing the pods. Currently, the output is missing this variable.
Steps to Reproduce:
Deploy the gha-runner-scale-set with the above configuration.
Describe the workflow pods to check the environment variables.
Expected Result:
The ACTIONS_RUNNER_CONTAINER_HOOK_TEMPLATE environment variable should be present along with the volume mounts in the workflow pods.
Describe the bug
I'm trying to add resource requests and limits for the runner pods by setting the ACTIONS_RUNNER_CONTAINER_HOOKS environment variable. However, the pods are not being updated with the desired values
Below is the values.yaml template used to append the environment variable:
Problem:
The pods should have the volumes mounted with the config map and the specified environment variables added. However, this is not happening as expected.
Current Output:
When describing the workflow pods, the environment variables and volumes are missing:
While Describing the AutoscalingRunnerSet doesn't show the ENV variables added either.
Below is the configmap file which is being used:
Describe the expected behavior
The ENV variable
ACTIONS_RUNNER_CONTAINER_HOOK_TEMPLATE
getting added along with the volume mounts along the pods which will come up.Additional Context
Controller Logs
sharing the logs below even though it;s not related to controller being un-available. https://gist.github.com/kanakaraju17/c5cf9efc50bfad1c97662b17533b9ca5
Runner Pod Logs
The text was updated successfully, but these errors were encountered: