03914ef1df
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [quay.io/netdata/netdata](https://netdata.cloud) ([source](https://redirect.github.com/netdata/netdata)) | patch | `785fed5` -> `e32bab7` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>netdata/netdata (quay.io/netdata/netdata)</summary> ### [`v2.5.4`](https://redirect.github.com/netdata/netdata/releases/tag/v2.5.4) [Compare Source](https://redirect.github.com/netdata/netdata/compare/v2.5.3...v2.5.4) Netdata v2.5.4 is a patch release to address issues discovered since [v2.5.3](https://redirect.github.com/netdata/netdata/releases/tag/v2.5.3). This patch release provides the following bug fixes and updates: - Improved label sanitization in Go plugins by removing null bytes from values ([commit](https://redirect.github.com/netdata/netdata/pull/20494/commits/a907cdc196bb8929fd59ed5772462ab67f3823e1), [@​ilyam8](https://redirect.github.com/ilyam8)) - Improved Go plugin startup performance by loading SNMP profiles only when used instead of all at startup ([commit](https://redirect.github.com/netdata/netdata/pull/20494/commits/ef1c04e254f81fdbd47834bd01121d16ae0f7b0e), [@​ilyam8](https://redirect.github.com/ilyam8)) - Added `-NoProfile` parameter to Windows installer PowerShell execution for cleaner environment setup ([#​20550](https://redirect.github.com/netdata/netdata/pull/20550), [@​thiagoftsm](https://redirect.github.com/thiagoftsm)) - Optimized memory usage by switching label structures to use the ARAL allocator and reducing memory footprint ([#​20502](https://redirect.github.com/netdata/netdata/pull/20502), [@​stelfrag](https://redirect.github.com/stelfrag)) - Fixed CPU architecture matching for Go plugin builds in 32-bit static builds ([#​20502](https://redirect.github.com/netdata/netdata/pull/20502), [@​Ferroin](https://redirect.github.com/Ferroin)) - Fixed Redis collector to properly maintain TLS configuration for `rediss` connections ([#​20478](https://redirect.github.com/netdata/netdata/pull/20478), [@​ilyam8](https://redirect.github.com/ilyam8)) - Fixed Go weblog collector to exclude HTTP 429 status codes from 4xx error category ([#​20443](https://redirect.github.com/netdata/netdata/pull/20443), [@​Slind14](https://redirect.github.com/Slind14)) - Fixed registry save operation by correcting integer overflow issues and adding exponential backoff for failed save attempts ([#​20437](https://redirect.github.com/netdata/netdata/pull/20437), [@​ktsaou](https://redirect.github.com/ktsaou)) - Improved agent shutdown responsiveness by reducing streaming connection timeout from 1000ms to 250ms ([#​20434](https://redirect.github.com/netdata/netdata/pull/20434), [@​stelfrag](https://redirect.github.com/stelfrag)) - Fixed database statement handling with improved thread cleanup and validation before finalization ([#​20433](https://redirect.github.com/netdata/netdata/pull/20433), [@​stelfrag](https://redirect.github.com/stelfrag)) - Fixed memory corruption issue in query progress updates by preventing access to freed web client structures ([#​20431](https://redirect.github.com/netdata/netdata/pull/20431), [@​ktsaou](https://redirect.github.com/ktsaou)) - Added vendored Protobuf and Abseil libraries to static builds with necessary patches for cross-platform compatibility ([#​17774](https://redirect.github.com/netdata/netdata/pull/17774), [@​Ferroin](https://redirect.github.com/Ferroin)) #### Support options <a id="v254-support-options"></a> As we grow, we stay committed to providing the best support ever seen from an open-source solution. Should you encounter an issue with any of the changes made in this release or any feature in the Netdata Agent, feel free to contact us through one of the following channels: - [Netdata Learn](https://learn.netdata.cloud): Find documentation, guides, and reference material for monitoring and troubleshooting your systems with Netdata. - [GitHub Issues](https://redirect.github.com/netdata/netdata/issues): Make use of the Netdata repository to report bugs or open a new feature request. - [GitHub Discussions](https://redirect.github.com/netdata/netdata/discussions): Join the conversation around the Netdata development process and be a part of it. - [Community Forums](https://community.netdata.cloud/): Visit the Community Forums and contribute to the collaborative knowledge base. - [Discord Server](https://discord.gg/2eduZdSeC7): Jump into the Netdata Discord and hang out with like-minded sysadmins, DevOps, SREs, and other troubleshooters. More than 2000 engineers are already using it! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
193 lines
4.8 KiB
YAML
193 lines
4.8 KiB
YAML
image:
|
|
repository: quay.io/netdata/netdata
|
|
tag: v2.5.4@sha256:e32bab7e136ca60b513080306aab724c31cb9cb47aaabeb9d380b3acd8e42224
|
|
pullPolicy: IfNotPresent
|
|
# -- The service account the pods will use to interact with the Kubernetes API
|
|
serviceAccount:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
configmap:
|
|
configs:
|
|
enabled: true
|
|
data:
|
|
netdata-conf: |-
|
|
[global]
|
|
memory mode = dbengine
|
|
dbengine multihost disk space = 4096
|
|
page cache size = 64
|
|
go-d-conf: |-
|
|
modules:
|
|
k8s_state: yes
|
|
go-d-k8s-state-conf: |-
|
|
jobs:
|
|
- name: k8s_state
|
|
update_every: 1
|
|
rbac:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- "pods"
|
|
- "nodes"
|
|
- "nodes/metrics"
|
|
# - "services" # used by agent service discovery
|
|
# - "configmaps" # used by agent service discovery
|
|
# - "secrets" # used by agent service discovery
|
|
verbs:
|
|
- "get"
|
|
- "list"
|
|
- "watch"
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- "namespaces"
|
|
verbs:
|
|
- "get"
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 19999
|
|
targetPort: 19999
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: "/etc/netdata"
|
|
targetSelectAll: true
|
|
lib:
|
|
enabled: true
|
|
mountPath: "/var/lib/netdata"
|
|
cache:
|
|
enabled: true
|
|
mountPath: "/var/cache/netdata"
|
|
passwd:
|
|
enabled: true
|
|
type: hostPath
|
|
hostPath: "/etc/passwd"
|
|
mountPath: "/host/etc/passwd"
|
|
readOnly: true
|
|
group:
|
|
enabled: true
|
|
type: hostPath
|
|
hostPath: "/etc/group"
|
|
mountPath: "/host/etc/group"
|
|
readOnly: true
|
|
proc:
|
|
enabled: true
|
|
type: hostPath
|
|
hostPath: "/proc"
|
|
mountPath: "/host/proc"
|
|
readOnly: true
|
|
dev:
|
|
enabled: true
|
|
type: hostPath
|
|
hostPath: "/dev"
|
|
mountPath: "/host/dev"
|
|
readOnly: true
|
|
sys:
|
|
enabled: true
|
|
type: hostPath
|
|
hostPath: "/sys"
|
|
mountPath: "/host/sys"
|
|
readOnly: true
|
|
os:
|
|
enabled: true
|
|
type: hostPath
|
|
hostPath: "/etc/os-release"
|
|
mountPath: "/host/etc/os-release"
|
|
readOnly: true
|
|
netdata-configs:
|
|
enabled: true
|
|
mountPath: "/etc/netdata/truecharts-defaults/.netdata.conf"
|
|
subPath: "netdata-conf"
|
|
type: configmap
|
|
objectName: configs
|
|
targetSelectAll: true
|
|
go-d-configs:
|
|
enabled: true
|
|
mountPath: "/etc/netdata/truecharts-defaults/.go.d.conf"
|
|
subPath: "go-d-conf"
|
|
type: configmap
|
|
objectName: configs
|
|
targetSelectAll: true
|
|
go-d-k8s-state-configs:
|
|
enabled: true
|
|
mountPath: "/etc/netdata/truecharts-defaults/go.d/.k8s_state.conf"
|
|
subPath: "go-d-k8s-state-conf"
|
|
type: configmap
|
|
objectName: configs
|
|
targetSelectAll: true
|
|
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
capabilities:
|
|
add:
|
|
- SYS_PTRACE
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
fsGroup: 201
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
automountServiceAccountToken: true
|
|
initContainers:
|
|
create-config:
|
|
enabled: true
|
|
imageSelector: image
|
|
type: init
|
|
command:
|
|
- /bin/bash
|
|
- -c
|
|
args:
|
|
- |-
|
|
copy_config () {
|
|
local confSource="$1"
|
|
local confTarget="$2"
|
|
local dirTarget
|
|
dirTarget="$(dirname "${confTarget}")"
|
|
|
|
if [ ! -f "$confTarget" ]; then
|
|
if [ ! -d "${dirTarget}" ]; then
|
|
mkdir -p "$dirTarget"
|
|
fi;
|
|
cp "$confSource" "$confTarget"
|
|
echo "Content of $(basename "${confTarget}")"
|
|
cat "$confTarget"
|
|
else
|
|
echo "Config $confTarget exists, skipping..."
|
|
fi;
|
|
}
|
|
export -f copy_config
|
|
|
|
copy_config "/etc/netdata/truecharts-defaults/.netdata.conf" "/etc/netdata/netdata.conf"
|
|
copy_config "/etc/netdata/truecharts-defaults/.go.d.conf" "/etc/netdata/go.d.conf"
|
|
copy_config "/etc/netdata/truecharts-defaults/go.d/.k8s_state.conf" "/etc/netdata/go.d/k8s_state.conf"
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
path: "/api/v1/info"
|
|
readiness:
|
|
path: "/api/v1/info"
|
|
startup:
|
|
path: "/api/v1/info"
|
|
env:
|
|
MY_NODE_NAME:
|
|
fieldRef:
|
|
fieldPath: spec.nodeName
|
|
MY_POD_NAMESPACE:
|
|
fieldRef:
|
|
fieldPath: metadata.namespace
|
|
MY_POD_NAME:
|
|
fieldRef:
|
|
fieldPath: metadata.name
|
|
NETDATA_CLAIM_URL: ""
|
|
NETDATA_CLAIM_TOKEN: ""
|
|
NETDATA_CLAIM_ROOMS: ""
|