Skip to content

[CECO-2145] Use datadog.kubelet.useApiServer for GKE Autopilot #29199

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tbavelier
Copy link
Member

What does this PR do? What is the motivation?

  • Documents the new kubelet.useApiServer recommended option for GKE Autopilot installation instructions.
    • Customers couldn't disable the read-only kubelet port until Agent 7.65.x and new Helm chart release. This option allows them to migrate away as recommended by Google/general k8s community.
  • Minor nits, e.g. removing some whitespaces + adding system-probe to the list of containers where resources are set.

Merge instructions

Merge readiness:

  • Ready for merge

@tbavelier tbavelier requested a review from a team as a code owner May 7, 2025 09:24
@tbavelier tbavelier changed the title [CECO-2145] Use datadog.kubelet.useapiserver for GKE Autopilot [CECO-2145] Use datadog.kubelet.useApiServer for GKE Autopilot May 7, 2025
Copy link
Contributor

github-actions bot commented May 7, 2025

Preview links (active after the build_preview check completes)

Modified Files

Datadog recommends that you specify resource limits for the Agent container. Autopilot sets a relatively low default limit (50m CPU, 100Mi memory) that may lead the Agent container to quickly OOMKill depending on your environment. If applicable, also specify resource limits for the Trace Agent and Process Agent containers. Additionally, you may wish to create a priority class for the Agent to ensure it is scheduled.
Datadog recommends that you specify resource limits for the Agent container. Autopilot sets a relatively low default limit (50m CPU, 100Mi memory) that may lead the Agent container to quickly OOMKill depending on your environment. If applicable, also specify resource limits for the Trace Agent, Process Agent and System-Probe containers. Additionally, you may wish to create a priority class for the Agent to ensure it is scheduled.

Starting with Agent `7.65.0+` and version `3.113.0+` of the Helm chart, we also recommend using `datadog.kubelet.useApiServer` for the Agent to query the pod list from the API server instead of the [deprecated read-only kubelet port][12].
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Starting with Agent `7.65.0+` and version `3.113.0+` of the Helm chart, we also recommend using `datadog.kubelet.useApiServer` for the Agent to query the pod list from the API server instead of the [deprecated read-only kubelet port][12].
Starting with Agent `7.65.0+` and version `3.113.0+` of the Helm chart, Datadog recommends using `datadog.kubelet.useApiServer` for the Agent to query the pod list from the API server. Avoid using the [deprecated read-only kubelet port][12].

@@ -237,6 +239,12 @@ datadog:
# Documentation: https://docs.datadoghq.com/getting_started/site/
site: <DATADOG_SITE>

# This option uses the API server to retrieve the node-level pod list from the API server.
# This is necessary to migrate away from the deprecated read-only kubelet port.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# This is necessary to migrate away from the deprecated read-only kubelet port.
# This setting is necessary to migrate away from the deprecated read-only kubelet port.

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.

2 participants