You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MK8S-25: Fix nginx container health check failures by creating index files before container start
The nginx container was failing health checks because index.html files were being
created AFTER the container started, causing 403 "directory index forbidden" errors
during the liveness/readiness probes.
This fix moves the index.html file creation to happen BEFORE the container manifest
is deployed, ensuring the files exist when nginx starts and can serve the health
check requests successfully.
Root cause: nginx.conf has "autoindex off; index index.html;" but files didn't exist
at container startup time, causing health check failures and container restarts.
0 commit comments