Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Kiosk server port is not configurable #117

@juv

Description

@juv

Hi,

I have found out that the Kiosk server port is not configurable at the moment:

o.RecommendedOptions.SecureServing.BindPort = 8443

Kiosk listens on the default port 8443, which is currently hardcoded.

When using the Helm chart with hostNetwork: true, this will cause issues when other applications already use that port. Kiosk will then crash on startup with the (expected) error:

panic: failed to create listener: failed to listen on 0.0.0.0:8443: listen tcp 0.0.0.0:8443: bind: address already in use

Using the hostNetwork: true is required when using an overlay network (e.g. with WeaveNet, Cilium) and still want admission webhooks to work in environments like AWS EKS. Running the pods in the host network is required because otherwise the API Server managed by EKS is not able to communicate with the pod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions