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

Add init container to GFD for handling imex nodes config mount #1070

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

cdesiniotis
Copy link
Contributor

No description provided.

echo "Removing cached IMEX nodes config"
rm -f /config/${IMEX_NODES_CONFIG_FILE}
fi
if [[ ! -f ${DRIVER_ROOT_CTR_PATH}/${IMEX_NODES_CONFIG_FILE} ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is DRIVER_ROOT_CTR_PATH being set?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few lines above when we source the driver-ready file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are the logs from the init container now:

cdesiniotis@cnt-imex-devel:~$ kubectl logs -n gpu-operator gpu-feature-discovery-5nd22 -c gpu-feature-discovery-imex-init
IS_HOST_DRIVER=true
NVIDIA_DRIVER_ROOT=/
DRIVER_ROOT_CTR_PATH=/host
NVIDIA_DEV_ROOT=/
DEV_ROOT_CTR_PATH=/host
Copying IMEX nodes config

@cdesiniotis
Copy link
Contributor Author

@ArangoGutierrez @tariq1890 do you know why the GitHub actions are not being triggered here?

@tariq1890 tariq1890 marked this pull request as ready for review October 25, 2024 19:50
@tariq1890
Copy link
Contributor

tariq1890 commented Oct 25, 2024

@ArangoGutierrez @tariq1890 do you know why the GitHub actions are not being triggered here?

Opened PR #1071 to fix this

@cdesiniotis cdesiniotis force-pushed the gfd-imex-init-container branch 2 times, most recently from 43e1a9e to 401c81d Compare October 25, 2024 20:35
@cdesiniotis cdesiniotis merged commit a25a1d5 into main Oct 28, 2024
11 checks passed
@tariq1890 tariq1890 deleted the gfd-imex-init-container branch October 28, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants