Skip to content

[Helm] Disable containerPort in helm chart #3838

Open
@kun98-liu

Description

@kun98-liu

Request

https://github.com/grafana/alloy/blob/main/operations/helm/charts/alloy/templates/containers/_agent.yaml#L42-L59
current helm chart by default adds one port for readiness probe.
can we provide another setting like addContainerPort and also exec command for readiness probe?

Use case

My team is recently considering to adopt grafana-alloy to replace pyroscope java agent. We would like to run grafana-alloy as daemonset and with hostPID to scrape java processes' profiles.

However, since it requires both hostPID and root user, it is better to forbid grafana-alloy pods from exposing any endpoint through http. so we don't want to add any containerPort to the pod template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions