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

configure crun as the low-level runtime to prioritise when using CRI-O #984

Closed
wants to merge 1 commit into from

Conversation

tariq1890
Copy link
Contributor

No description provided.

// Specify the full paths of the crun and runc executables as the CRI-O installed binaries are not available in the PATH
if runtime == gpuv1.CRIO.String() {
setContainerEnv(&(obj.Spec.Template.Spec.Containers[0]), NvidiaCtrRuntimeRuntimesEnvName,
"/usr/libexec/crio/crun,/usr/libexec/crio/runc,crun,runc")
Copy link
Contributor Author

@tariq1890 tariq1890 Sep 11, 2024

Choose a reason for hiding this comment

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

UPDATE: It looks like this assumption does not hold good for ALL cri-o deployments.

In cases of cri-o on OpenShift:

  1. The low-level runtime binaries are installed in the following locations:

      /usr/bin/runc
      /usr/bin/crun
    
  2. runc is the default runtime as opposed to crun in vanilla CRI-O

@tariq1890 tariq1890 closed this Sep 19, 2024
@tariq1890 tariq1890 deleted the crun-crio branch September 19, 2024 04:59
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.

1 participant