failed to watch file "/var/log/pods/...*57c7c0d33/docker-build/0.log": no space left on device #1868
-
Hello, we are encountering an error in the OKD environment. In the logs of pods, we are encountering the error 'failed to watch file "/var/log/pods/...*57c7c0d33/docker-build/0.log": no space left on the device.' We figured out that the problem is due to the value On Openshift cluster we double the value with node tuning but these fix only works on Openshift clusters. apiVersion: tuned.openshift.io/v1
kind: Tuned
metadata:
name: openshift-node-custom
namespace: openshift-cluster-node-tuning-operator
spec:
profile:
- data: |
[main]
summary=Custom OpenShift node profile with an additional kernel parameter
[sysctl]
fs.inotify.max_user_watches=163840
name: openshift-node-custom
recommend:
- machineConfigLabels:
machineconfiguration.openshift.io/role: "worker"
priority: 20
profile: openshift-node-custom
operand:
tunedConfig:
reapply_sysctl: false
debug: false So my question is how can I double the value Thanks for help. Best regards, Mike Gavez |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
That sounds like an NTO bug - it should apply sysctls correctly, regardless of it being OCP or OKD |
Beta Was this translation helpful? Give feedback.
-
@ImperrattoR I'm in the same boat. Did you manage to get this issue resolved? If yes, please share the fix. |
Beta Was this translation helpful? Give feedback.
-
Later on the new OKD version, I have applied the tuned file below, and it worked.
|
Beta Was this translation helpful? Give feedback.
Later on the new OKD version, I have applied the tuned file below, and it worked.