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

Update docs - Setup and Usage (setup.html) for cri-o runtime #862

Open
adam-ad opened this issue Aug 9, 2022 · 0 comments
Open

Update docs - Setup and Usage (setup.html) for cri-o runtime #862

adam-ad opened this issue Aug 9, 2022 · 0 comments

Comments

@adam-ad
Copy link

adam-ad commented Aug 9, 2022

Describe the bug

According to https://intel.github.io/cri-resource-manager/stable/docs/setup.html#setting-up-cri-resource-manager
setting --image-socket is optional, while from my experience for cri-o it is mandatory
and one needs both --image-socket and --runtime-socket to point to cri-o socket

BTW on socket path, I had issues with "unix:///" prefix (Err: connection error: desc = "transport: error while dialing: dial unix unix:///var/run/crio/crio.sock: connect: no such file or directory")
what worked was a direct path "/var/run/crio/crio.sock" for both --runtime-socket & --image-socket in EnvironmentFile=/etc/sysconfig/cri-resource-manager

Expected behavior

Please update https://github.com/intel/cri-resource-manager/blob/master/docs/setup.md
so that one can follow it without facing issues for crio runtime

To Reproduce

Follow https://intel.github.io/cri-resource-manager/stable/docs/setup.html for cri-o as-is

Environment

OpenShift version 4.10.11
Kubernetes version v1.23.5+9ce5071
OS-IMAGE Red Hat Enterprise Linux CoreOS 410.84.202204112301-0 (Ootpa)
KERNEL-VERSION 4.18.0-305.40.2.el8_4.x86_64
CONTAINER-RUNTIME cri-o://1.23.2-6.rhaos4.10.git9a36bb8.el8

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

No branches or pull requests

1 participant