Giter Club home page Giter Club logo

Comments (2)

maelvls avatar maelvls commented on June 28, 2024

Hey,

I'd recommend everyone to not use --leader-elect=false although it has been talked about in #4918.

The reason you don't want to use --leader-elect=false in production is because even though the number of replicas for the cert-manager controller is 1, you will have multiple pods when upgrading cert-manager from one version to another. For a couple of seconds or minutes, two cert-manager instances will be running simultaneously, which will lead to the two cert-manager pods fighting with each other and behaving erratically.

*v1.Ingress ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost")

This makes me think that the connection to the kube-apiserver got lost for at least 40 seconds (as per renewDeadline in the Helm chart), and cert-manager crashed as expected. The reason we want to crash (instead of hanging indefinitely) is makes it easier to diagnose.

from cert-manager.

yene avatar yene commented on June 28, 2024

I remember a few years ago we had a similar reconnect issue with the kubernetes control panel in Azure.
My memory is a bit hazy but I think it came down to something like the reconnect try needs to refresh DNS.

golang/go#23427

from cert-manager.

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.