Skip to content

bump ksm - #290

Open
osleg wants to merge 8 commits into
zesty-co:mainfrom
osleg:6395-ksm
Open

bump ksm#290
osleg wants to merge 8 commits into
zesty-co:mainfrom
osleg:6395-ksm

Conversation

@osleg

@osleg osleg commented Jun 1, 2026

Copy link
Copy Markdown

No description provided.

@ilanovadia ilanovadia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments

Comment thread charts/kompass/values.yaml
Comment thread charts/kompass/README.md
Comment thread charts/kompass/values.yaml
Comment thread charts/kompass/templates/dependencies/vm-configs.yaml Outdated
Comment thread charts/kompass/templates/dependencies/vm-configs.yaml Outdated
exit 1
fi
echo "⚠️ kubeStateMetrics.enabled is set to false — kubeStateMetrics will not be installed, going to use the existing service: $KSM_SVC_NAME"
if [ "$KSM_SCRAPE_MODE" = "perResource" ]; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wwe need this warning only when "$KSM_SCRAPE_MODE" = "perResource" and the user work with an external ksm and not ours

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we either have a general problem with this block or I misunderstand something

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we install our own KSM, all is good since we control the version -> per resource is supported.
When we do not install our KSM, we can't tell what version the customer uses, so if it is configured per resource, we should raise this warning.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that's how it is, we only print this if the KSM is not owned by us and if scrape mod is set to per resource.

Comment thread charts/kompass/tests/kube_state_metrics_crs_test.yaml
Comment thread charts/kompass/tests/kube_state_metrics_validator_test.yaml Outdated
Comment thread charts/kompass/tests/vm-configs_test.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants