GithubHelp home page GithubHelp logo

Comments (5)

arunvelsriram avatar arunvelsriram commented on July 28, 2024

Hi. You can run the existing Docker image wwwthoughtworks/build-your-own-radar on any scheduler.

from build-your-own-radar.

arunvelsriram avatar arunvelsriram commented on July 28, 2024

For example you can quickly create Kubernetes Deployment like this:

 kubectl run byor --env SERVER_NAMES=localhost --image wwwthoughtworks/build-your-own-radar

from build-your-own-radar.

arjunm183 avatar arjunm183 commented on July 28, 2024

@arunvelsriram I tried this. Deployment is done. However when i expose the service as below.

  1. kubectl expose deployment byor --port=8080 --target-port=80 --type=NodePort
  2. When i open the URL it shows 403 error( Forbidden )

from build-your-own-radar.

arunvelsriram avatar arunvelsriram commented on July 28, 2024

That's probably due to the default server block in the nginx configuration.
https://github.com/thoughtworks/build-your-own-radar/blob/master/default.template#L5

This default server block will be removed in #48

A simple workaround is to set the Host in the request header:

curl -H 'Host: hostname' http://addr:nodeport

from build-your-own-radar.

mohamednajiullah avatar mohamednajiullah commented on July 28, 2024

The issue is now resolved in the latest release. We have removed the server name dependency in the nginx.conf block.

Please use the latest docker image for this.

from build-your-own-radar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.