helm / charts

⚠️(OBSOLETE) Curated applications for Kubernetes
Apache License 2.0
15.49k stars 16.78k forks source link

[stable/graylog] Got html response loading js files with 2 replicas of GL server #24439

Closed ArturChe closed 3 years ago

ArturChe commented 3 years ago

Having deployed the Graylog helm chart with one server pod the UI stuff loading as expected. But with 2 replicas the script responses for some reason have an Html instead of a JS file. I have noticed that requests can be performed to a random server and the responses come from the other node that is different from the initial request.

For example the first request:

Request:
 Request URL: http://graylog.foo.bar/
 Request Method: GET
 Status Code: 200 OK
 Remote Address: xx.xx.xx.xx.80
Response:
 X-Graylog-Node-ID: 1f3d2f34-315c-4ba3-be0b-1c2c1052a23a

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="robots" content="noindex, nofollow">
    <meta charset="UTF-8">
    <title>Graylog Web Interface</title>
    <link rel="shortcut icon" href="http://graylog.foo.bar/assets/favicon.png">

  </head>
  <body>
    <script src="http://graylog.foo.bar/config.js"></script>

    <script src="http://graylog.foo.bar/assets/vendor.8d6aa5835c8302c41e2f.js"></script>

    <script src="http://graylog.foo.bar/assets/polyfill.7b2d519528c4e87cbc34.js"></script>

    <script src="http://graylog.foo.bar/assets/builtins.7b2d519528c4e87cbc34.js"></script>

    <script src="http://graylog.foo.bar/assets/plugin/org.graylog.plugins.threatintel.ThreatIntelPlugin/plugin.org.graylog.plugins.threatintel.ThreatIntelPlugin.2148ca040de9a7a73c28.js"></script>

    <script src="http://graylog.foo.bar/assets/plugin/org.graylog.plugins.collector.CollectorPlugin/plugin.org.graylog.plugins.collector.CollectorPlugin.0f2e4cf8cefdf620a71d.js"></script>

    <script src="http://graylog.foo.bar/assets/plugin/org.graylog.aws.AWSPlugin/plugin.org.graylog.aws.AWSPlugin.0898b5f648fe40b44913.js"></script>

    <script src="http://graylog.foo.bar/assets/app.7b2d519528c4e87cbc34.js"></script>

  </body>
</html>

Wrong JS file request/response:

Request:
 Request URL: http://graylog.foo.bar/assets/polyfill.4678e54c30f1075e4dd8.js
 Request Method: GET
 Status Code: 200 OK
 Remote Address: xx.xx.xx.xx:80
Response:
 X-Graylog-Node-ID: 9f0879a2-1dfc-4eff-8c9b-204b8565ecc8

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="robots" content="noindex, nofollow">
    <meta charset="UTF-8">
    <title>Graylog Web Interface</title>
    <link rel="shortcut icon" href="http://graylog.foo.bar/assets/favicon.png">

  </head>
  <body>
    <script src="http://graylog.foo.bar/config.js"></script>

    <script src="http://graylog.foo.bar/assets/vendor.8d6aa5835c8302c41e2f.js"></script>

    <script src="http://graylog.foo.bar/assets/polyfill.7b2d519528c4e87cbc34.js"></script>

    <script src="http://graylog.foo.bar/assets/builtins.7b2d519528c4e87cbc34.js"></script>

    <script src="http://graylog.foo.bar/assets/plugin/org.graylog.plugins.threatintel.ThreatIntelPlugin/plugin.org.graylog.plugins.threatintel.ThreatIntelPlugin.2148ca040de9a7a73c28.js"></script>

    <script src="http://graylog.foo.bar/assets/plugin/org.graylog.plugins.collector.CollectorPlugin/plugin.org.graylog.plugins.collector.CollectorPlugin.0f2e4cf8cefdf620a71d.js"></script>

    <script src="http://graylog.foo.bar/assets/plugin/org.graylog.aws.AWSPlugin/plugin.org.graylog.aws.AWSPlugin.0898b5f648fe40b44913.js"></script>

    <script src="http://graylog.foo.bar/assets/app.7b2d519528c4e87cbc34.js"></script>

  </body>
</html>

Helm: 3.2.3 Kubernetes: 1.18 GL Helm chart version: 1.6.6

scottrigby commented 3 years ago

stable/graylog has been moved to https://github.com/KongZ/charts. See #24011