-
Notifications
You must be signed in to change notification settings - Fork 275
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
Using alternate location data-dir crictl.yaml still resides in the default data-dir path #474
Comments
This appears to be coming from here: |
Related to rancher/rke2#474 Note that anyone who customizes the data-dir path will have to set CRI_CONFIG_FILE to the correct path when using the wrapped binaries (crictl, etc). Signed-off-by: Brad Davidson <[email protected]>
Related to rancher/rke2#474 Note that anyone who customizes the data-dir path will have to set CRI_CONFIG_FILE to the correct path when using the wrapped binaries (crictl, etc). Signed-off-by: Brad Davidson <[email protected]>
Related to rancher/rke2#474 Note that anyone who customizes the data-dir path will have to set CRI_CONFIG_FILE to the correct path when using the wrapped binaries (crictl, etc). This is better than dropping files in the incorrect location. Signed-off-by: Brad Davidson <[email protected]>
Related to rancher/rke2#474 Note that anyone who customizes the data-dir path will have to set CRI_CONFIG_FILE to the correct path when using the wrapped binaries (crictl, etc). This is better than dropping files in the incorrect location. Signed-off-by: Brad Davidson <[email protected]>
Related to rancher/rke2#474 Note that anyone who customizes the data-dir path will have to set CRI_CONFIG_FILE to the correct path when using the wrapped binaries (crictl, etc). This is better than dropping files in the incorrect location. Signed-off-by: Brad Davidson <[email protected]>
Related to rancher/rke2#474 Note that anyone who customizes the data-dir path will have to set CRI_CONFIG_FILE to the correct path when using the wrapped binaries (crictl, etc). This is better than dropping files in the incorrect location. Signed-off-by: Brad Davidson <[email protected]>
Related to rancher/rke2#474 Note that anyone who customizes the data-dir path will have to set CRI_CONFIG_FILE to the correct path when using the wrapped binaries (crictl, etc). This is better than dropping files in the incorrect location. Signed-off-by: Brad Davidson <[email protected]>
While validating on k3s version v1.19.3+k3s-58b5b21f, found the behavior is different while passing data-dir and passing data-dir through config file
Using config file, /var/lib/rancher contains k3s/data dir
|
@ShylajaDevadiga I've opened a new issue for the extracted binaries being in the wrong location; lets keep this one for just crictl.yaml |
rke2 version v1.18.12-rc1+rke2r1
|
I don't believe that the required patches have been pulled through from k3s yet. |
Validated on rke2 version v1.19.5-rc1+rke2r1 On Centos and well as Ubuntu
|
Just confirming:
Failure to do either of the above will cause RKE2 to fail to start when using a custom data-dir. |
Related to rancher/rke2#474 Note that anyone who customizes the data-dir path will have to set CRI_CONFIG_FILE to the correct path when using the wrapped binaries (crictl, etc). This is better than dropping files in the incorrect location. Signed-off-by: Brad Davidson <[email protected]>
Version:
rke2 version v1.18.9+rke2r1
Describe the Issue:
While using /mnt dir as the param for data-dir all content of data dir is relocated to new /mnt dir, except for crictl file in the agent dir
Cluster is up
The text was updated successfully, but these errors were encountered: