Skip to content

Issues running in Kubernetes #430

Open
@2o1o0

Description

@2o1o0

Describe the bug
Running in Kubernetes is currently an issue as it tries to bind to a port bellow 1024

To Reproduce
Use https://bjw-s.github.io/helm-charts to generate a deployment as I usually do with this kind of projects
Currently using embedded db version to test the app
The app cannot start as it tries to bind it self to port 80
There are a few steps to match K8S hardnening requirements

Expected behavior
I can start the app as a generic K8S app

Additional context
Error :

Overriding address(es) 'http://*:8080'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
Hosting failed to start
System.Net.Sockets.SocketException (13): Permission denied

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions