Skip to content

Allow customizing the cmetrics container port (default: 10255) #1333

@sean80221123

Description

@sean80221123

Problem
The current chart hardcodes the cmetrics container port to 10255 in:

https://github.com/Kong/charts/blob/kong-2.49.0/charts/kong/templates/_helpers.tpl#L913
https://github.com/Kong/charts/blob/kong-2.49.0/charts/kong/templates/deployment.yaml#L138

However, port 10255 is deprecated on GKE due to security concerns:

🔗 https://cloud.google.com/kubernetes-engine/docs/how-to/disable-kubelet-readonly-port

Using this port causes issues or conflicts on clusters where the kubelet readonly port is disabled (which is the default in modern GKE versions).

Image

I need to change the port from 10255 to 10250 or another custom port.
Is there a way for me to configure this in the current chart, or would the maintainers consider making this configurable in the official chart?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions