clearml-server icon indicating copy to clipboard operation
clearml-server copied to clipboard

clearml-webserver crashes when IPv6 is disabled on a k8s node

Open stephanbertl opened this issue 2 years ago • 1 comments

We have Ubuntu 22.04 k8s nodes with ipv6 disabled in the kernel options.

clearml cannot start on these nodes. Pods are crashing:

kubectl logs clearml-webserver-75bbc647d-zkdlf -n clearml
Defaulted container "clearml-webserver" out of: clearml-webserver, init-webserver (init)
2023/11/13 16:47:03 [emerg] 50#50: socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)

We are using chart version 7.4.0

stephanbertl avatar Nov 13 '23 16:11 stephanbertl

found this pr https://github.com/allegroai/clearml-server/pull/165/files

    environment:
      DISABLE_NGINX_IPV6: "true"

works for docker-compose. So setting this variable should work for kubernetes too

amishurov avatar Jan 15 '24 13:01 amishurov