Giter VIP home page Giter VIP logo

Comments (4)

ErikLundJensen avatar ErikLundJensen commented on August 9, 2024 2

It is because the startup probe is not checking for .Values.nginx.enabled like the readiness probe.
The startupProbe is set eventhrough there is no http port defined in the case where nginx is enabled.

Thereby the kubelet can't find a port named "http" and then kubelet tries to parse the string as an integer which fails.

The if-statement around the startupProbe should look something like this:

{{- if and .Values.startupProbe.enabled (not .Values.nginx.enabled) }}

from helm.

webwurst avatar webwurst commented on August 9, 2024

Just from reading the template it looks like the named port http should only be defined for one container. Does it work for you when you use 80 instead in the startup probe?

from helm.

sseneca avatar sseneca commented on August 9, 2024

For which value do you want me to specify 80? Doing something like

    startupProbe:
      enabled: true
      httpGet:
        path: /status.php
        port: 80
        httpHeaders:
        - name: Host
          value: ...

doesn't override the values from the template

from helm.

sseneca avatar sseneca commented on August 9, 2024

1afd7dd fixed this issue but it would be nice to have Startup Probes even if using nginx. Closing this issue anyway

from helm.

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.