Code Monkey home page Code Monkey logo

Comments (4)

marquiz avatar marquiz commented on September 23, 2024

@weikinhuang thanks for reporting this issue. The deprecated gRPC interface and TLS does not have too much coverage. Are you using the gRPC interface (with enableNodeFeatureApi: false in values.yaml)? If not, the TLS isn't really doing anything and you could just drop the tls.enable=true setting.

Nevertheless, this is an issue we need to fix as the K8s built-in gRPC liveness probe doesn't support TLS (afaiu) 🫤 Two options that immediately came to my mind:

  1. Revert back to using grpc-health-probe (effectively reverting #1046) until gRPC support is dropped
  2. Serve non-TLS gRPC endpoint on a different port, just for liveness probe purposes

/cc @ArangoGutierrez @fmuyassarov

from node-feature-discovery.

weikinhuang avatar weikinhuang commented on September 23, 2024

@marquiz I am not, I'm just using NFD as a operator with CRDs, most of everything else is the default values. In that case I'll leave the tls flag disabled then.

Thanks for the quick update.

from node-feature-discovery.

fmuyassarov avatar fmuyassarov commented on September 23, 2024

@weikinhuang thanks for reporting this issue. The deprecated gRPC interface and TLS does not have too much coverage. Are you using the gRPC interface (with enableNodeFeatureApi: false in values.yaml)? If not, the TLS isn't really doing anything and you could just drop the tls.enable=true setting.

Nevertheless, this is an issue we need to fix as the K8s built-in gRPC liveness probe doesn't support TLS (afaiu) 🫤 Two options that immediately came to my mind:

  1. Revert back to using grpc-health-probe (effectively reverting Replace gRPC health probe utility with k8s built-in health probe #1046) until gRPC support is dropped
  2. Serve non-TLS gRPC endpoint on a different port, just for liveness probe purposes

/cc @ArangoGutierrez @fmuyassarov

Ah sorry for that. I'm +1 for reverting the #1046 for the time being.

from node-feature-discovery.

marquiz avatar marquiz commented on September 23, 2024

@fmuyassarov I decided to try the other option, see #1535

from node-feature-discovery.

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.