Django running in kubernetes does not load jquery files

  django, docker, jquery, kubernetes

I have a django application which I am running using docker container inside kubernetes cluster.

When I load it using docker, I can see the proper UI however when I try to load using kubernetes and port-forwarding to local, I see UI like this.

enter image description here

I did further investigation and found that inside docker jquery.js file exists however when I run it through k8s only jquery.min exists but no jquery.js

Please advise what could be the reason.

Source: Docker Questions

LEAVE A COMMENT