You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
Installed KCM 0.1.0 on K0s Server Version: v1.32.1+k0s. After system has settled, something is still calling https://webhook-service.projectsveltos.svc:443/convert?timeout=30s every second. This causes 100% of 1 vCPU to be used when the system is idle.
journalctl --since "1m ago" | grep -i webhook-service.projectsveltos.svc | grep -i E0217 | wc -l
59
Feb 17 18:20:54 ip-172-31-14-170 k0s[11008]: time="2025-02-17 18:20:54" level=info msg="W0217 18:20:54.762850 26115 reflector.go:569] storage/cacher.go:/config.projectsveltos.io/profiles: failed to list config.projectsveltos.io/v1alpha1, Kind=Profile: conversion webhook for config.projectsveltos.io/v1beta1, Kind=Profile failed: Post \"https://webhook-service.projectsveltos.svc:443/convert?timeout=30s\": service \"webhook-service\" not found" component=kube-apiserver stream=stderr
Feb 17 18:20:54 ip-172-31-14-170 k0s[11008]: time="2025-02-17 18:20:54" level=info msg="E0217 18:20:54.762872 26115 cacher.go:478] cacher (profiles.config.projectsveltos.io): unexpected ListAndWatch error: failed to list config.projectsveltos.io/v1alpha1, Kind=Profile: conversion webhook for config.projectsveltos.io/v1beta1, Kind=Profile failed: Post \"https://webhook-service.projectsveltos.svc:443/convert?timeout=30s\": service \"webhook-service\" not found; reinitializing..." component=kube-apiserver stream=stderr
What you expected to happen:
Whatever is calling the service should exponentially back-off or stop. OR the sveltos webhook-service should be deployed. It doesn't look like the webhook-service is deployed
Where can this issue be corrected? (optional)
Two fixes need to be made. Fix the call so it does not fail. Fix the call so it exponentially backs off if the service is down to not impact CPU so much.
The issue should be gone with bumping the version due to the drop of the v1alpha1. The RC was not setting the .Values.webhook.conversion, which led to dropping the required Deployment with the webhook from the installation.
Also, the chart has been divided into several, including a dedicated one with the CRDs, so it is highly likely it is no longer required to maintain our makefile approach separating CRDs.
What happened:
Installed KCM 0.1.0 on K0s Server Version: v1.32.1+k0s. After system has settled, something is still calling https://webhook-service.projectsveltos.svc:443/convert?timeout=30s every second. This causes 100% of 1 vCPU to be used when the system is idle.
What you expected to happen:
Whatever is calling the service should exponentially back-off or stop. OR the sveltos webhook-service should be deployed. It doesn't look like the webhook-service is deployed
Where can this issue be corrected? (optional)
Two fixes need to be made. Fix the call so it does not fail. Fix the call so it exponentially backs off if the service is down to not impact CPU so much.
How to reproduce it (as minimally and precisely as possible):
Happens on basic install. https://docs.k0rdent.io/latest/quickstart-1-mgmt-node-and-cluster/
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: