What is wrong, I am doing in this problem. It always wrong for me.
Hi @Pambust
Your command mkdir -p /var/log/app
is redundant, and probably that’s causing the validation failure.
You don’t need to manually create the /var/log/app
directory inside the container. When the shared-log
volume is mounted at that path, Kubernetes (or Docker) will ensure that the mountPath directory is created and available within the container.