Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update ksm version in kubernetes recipe #977

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions recipes/newrelic/infrastructure/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -528,11 +528,14 @@ install:
fi
ARGS="${ARGS} --set ksm.enabled=${NR_CLI_KSM}"

if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then
ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.6.0"
else
ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.7.0"
fi
# leaving this commented out for the future
# if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then
# ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.6.0"
# else
# ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.7.0"
# fi

ARGS="${ARGS} --set kube-state-metrics.image.tag=v2.10.0"

# Prometheus integrations

Expand Down Expand Up @@ -616,11 +619,13 @@ install:
BODY="${BODY},\"global.lowDataMode\":\"${NR_CLI_LOW_DATA_MODE}\""
BODY="${BODY},\"ksm.enabled\":\"${NR_CLI_KSM}\""

if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then
BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.6.0\""
else
BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.7.0\""
fi
# leaving this commented out for the future
# if [[ $SERVER_MAJOR_VERSION -eq 1 && $SERVER_MINOR_VERSION -lt 25 ]]; then
# BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.6.0\""
# else
# BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.7.0\""
# fi
BODY="${BODY},\"kube-state-metrics.image.tag\":\"v2.10.0\""

# Prometheus integrations

Expand Down
Loading