title: Kibana did not load properly. Check the server output for more information
body: <p>I started EFK stack on k8s. </p>
  
  <p>my ekf-kibana service manifest is as below</p>
  
  <pre><code>apiVersion: v1
  kind: Service
  metadata:
    creationTimestamp: "2019-03-19T07:30:15Z"
    labels:
      app: kibana
      chart: kibana-0.4.3
      heritage: Tiller
      release: efk
    name: efk-kibana
    namespace: logging
    resourceVersion: "10156"
    selfLink: /api/v1/namespaces/logging/services/efk-kibana
    uid: d70a3266-4a18-11e9-b340-02edaf44024a
  spec:
    clusterIP: 100.69.129.248
    ports:
    - port: 443
      protocol: TCP
      targetPort: 5601
    selector:
      app: kibana
      release: efk
    sessionAffinity: None
    type: ClusterIP
  status:
    loadBalancer: {}
  </code></pre>
  
  <p>when i access kibana using kube proxy URL as below </p>
  
  <p><a href="https://i.stack.imgur.com/b2erg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b2erg.png" alt="enter image description here"></a></p>
  
  <p>when kibana load some css and js in backend, it redirect to api URL instead of proxy and kibana base URL as per below screenshot. </p>
  
  <p><a href="https://i.stack.imgur.com/d45PL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d45PL.png" alt="enter image description here"></a></p>
  
  <p>please help!!!</p>
  
  <p>Actually there is path related issue. below is my detailed explanation</p>
  
  <pre><code>NAME=cluster_name
  </code></pre>
  
  <p>kibana URL using proxy is</p>
  
  <pre><code>https://api.$NAME/api/v1/namespaces/logging/services/efk-kibana:443/proxy/app/kibana
  </code></pre>
  
  <p>it give error, kibana not loading properly and show for load some js and css from</p>
  
  <pre><code>https://api.$NAME/bundles/vendors.style.css
  </code></pre>
  
  <p>i set kibana server_basepath in kibana manifest is as below for open via proxy </p>
  
  <pre><code>/api/v1/namespaces/logging/services/efk-kibana
  </code></pre>
  
  <p>actually it should load from "API_URL+server_basepath/proxy/...." as below</p>
  
  <pre><code>https://api.$NAME/api/v1/namespaces/logging/services/efk-kibana:443/proxy/bundles/vendors.style.css
  </code></pre>
  
  <p>so there is some path related issue in kibana deployment or in docker image.</p>