-
Notifications
You must be signed in to change notification settings - Fork 487
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
Operator: Type DirectoryOrCreate should be set on hostPath data volume of logs daemonset #6926
Comments
This is the daemonset created by the operator:
|
This issue has not had any activity in the past 30 days, so the |
What's wrong?
Daemonset pods of LogsInstance fail to create with this error:
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /var/lib/grafana-agent/data
According to Kubernetes docs, if the
type: DirectoryOrCreate
is set on the hostPath data volume, the problem is resolved.Steps to reproduce
Just run a logs instance for the first time.
Tested on Kubernetes v1.24.17.
System information
No response
Software version
No response
Configuration
No response
Logs
No response
The text was updated successfully, but these errors were encountered: