Skip to content

[prometheus-kube-stack] warnings in K8s 1.34 #6108

@chancez

Description

@chancez

Describe the bug a clear and concise description of what the bug is.

Installing the latest version of kube-prometheus-stack into k8s 1.34 produces the following warnings:

I0902 11:22:05.440311   37395 warnings.go:110] "Warning: unrecognized format \"int32\""
I0902 11:22:05.440340   37395 warnings.go:110] "Warning: unrecognized format \"int64\""
I0902 11:22:05.508673   37395 warnings.go:110] "Warning: unrecognized format \"int64\""
I0902 11:22:05.508746   37395 warnings.go:110] "Warning: unrecognized format \"int32\""
I0902 11:22:05.518195   37395 warnings.go:110] "Warning: unrecognized format \"int64\""
I0902 11:22:05.518217   37395 warnings.go:110] "Warning: unrecognized format \"int32\""
I0902 11:22:05.526562   37395 warnings.go:110] "Warning: unrecognized format \"int64\""
I0902 11:22:05.582054   37395 warnings.go:110] "Warning: unrecognized format \"int32\""
I0902 11:22:05.582081   37395 warnings.go:110] "Warning: unrecognized format \"int64\""
I0902 11:22:05.641187   37395 warnings.go:110] "Warning: unrecognized format \"int64\""
I0902 11:22:05.641208   37395 warnings.go:110] "Warning: unrecognized format \"int32\""
I0902 11:22:05.701019   37395 warnings.go:110] "Warning: unrecognized format \"int32\""
I0902 11:22:05.701036   37395 warnings.go:110] "Warning: unrecognized format \"int64\""
I0902 11:22:05.710707   37395 warnings.go:110] "Warning: unrecognized format \"int64\""
I0902 11:22:05.752694   37395 warnings.go:110] "Warning: unrecognized format \"int32\""
I0902 11:22:05.752715   37395 warnings.go:110] "Warning: unrecognized format \"int64\""
I0902 11:22:13.247884   37395 warnings.go:110] "Warning: spec.SessionAffinity is ignored for headless services"
I0902 11:22:13.248707   37395 warnings.go:110] "Warning: spec.SessionAffinity is ignored for headless services"
I0902 11:22:13.248731   37395 warnings.go:110] "Warning: spec.SessionAffinity is ignored for headless services"
I0902 11:22:13.248736   37395 warnings.go:110] "Warning: spec.SessionAffinity is ignored for headless services"
I0902 11:22:13.250328   37395 warnings.go:110] "Warning: spec.SessionAffinity is ignored for headless services"

It's unclear if this will be a problem in the future, but it might be good to attempt and fix it. It's entirely possible this needs to be fixed upstream in the prometheus-operator though, as I believe the format warnings at least are from the CRDs.

What's your helm version?

version.BuildInfo{Version:"v3.18.6", GitCommit:"b76a950f6835474e0906b96c9ec68a2eff3a6430", GitTreeState:"clean", GoVersion:"go1.25.0"}

What's your kubectl version?

Client Version: v1.34.0 Kustomize Version: v5.7.1 Server Version: v1.34.0

Which chart?

kube-prometheus-stack

What's the chart version?

77.3.0

What happened?

No response

What you expected to happen?

No response

How to reproduce it?

No response

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

helm upgrade kube-prometheus prometheus-community/kube-prometheus-stack --install --wait --namespace monitoring --create-namespace --version 77.3.0 --timeout 8m

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions