Giter Club home page Giter Club logo

Comments (9)

0xMALVEE avatar 0xMALVEE commented on September 27, 2024 1

@khustochka sorry for the late reply. here is what I did basically added the hetzner-specific metadata there in the Nginx ingress yaml file that is used to install the ngnix ingress, I downloaded from their github and edited before applying into my cluster and manually applied. the location and private ip

metadata:
  labels:
    app.kubernetes.io/component: controller
    app.kubernetes.io/instance: ingress-nginx
    app.kubernetes.io/name: ingress-nginx
    app.kubernetes.io/part-of: ingress-nginx
    app.kubernetes.io/version: 1.10.0
  name: ingress-nginx-controller
  namespace: ingress-nginx
  annotations: 
    load-balancer.hetzner.cloud/location: nbg1
    load-balancer.hetzner.cloud/use-private-ip: "true"

image

from hetzner-k3s.

khustochka avatar khustochka commented on September 27, 2024 1

@0xMALVEE Thanks a lot for your answer!

In my case the cause of the issue turned out to be a bit different, I will describe it here in case someone has the same.

The annotation I was missing was:

 load-balancer.hetzner.cloud/http-redirect-https: 'false'

https is correct here, because if you google it, a lot of pages mention load-balancer.hetzner.cloud/http-redirect-http (without s). That was my problem.

from hetzner-k3s.

0xMALVEE avatar 0xMALVEE commented on September 27, 2024

fixed it. by adding anotattions under metadata.

from hetzner-k3s.

khustochka avatar khustochka commented on September 27, 2024

@0xMALVEE Do you mind telling what exactly you did to fix this. In which file did you added "annotations under metadata"? Would appreciate greatly!

I am having the same issue. Although I went to hetzner admin and manually added the target to the load balancer, and services to the target. Weirdly, after this https connection somehow started to work, but http did not (returning status 400 Bad request). And no External IP appeared anyway.

from hetzner-k3s.

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.