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

Kiosk server port is not configurable #117

Open
juv opened this issue Apr 14, 2021 · 1 comment
Open

Kiosk server port is not configurable #117

juv opened this issue Apr 14, 2021 · 1 comment

Comments

@juv
Copy link

juv commented Apr 14, 2021

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.

@FabianKramm
Copy link
Member

@juv thanks for creating this issue! We'll add an option to make this configurable

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants