You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i attach to a pod to follow the logs with kubectl, the proxy_timeout in the k3d-proxy is set too low and sometimes if nothing happens in the pod, the connection is closed. This timeout should be much higher or configurable.
How was the cluster created?
k3d create -w 4
What did you do afterwards?
kubectl apply -f mydeployment.yaml
kubectl get logs --follow <pod of a job>
error: unexpected EOF
What did you expect to happen?
i expected that kubectl would follow the logs until the job is completed but instead at a point that takes about 3-5 minutes without any new log messages, the error appeared. I then attached to the k3d-proxy container increased the timeout, reloaded the nginx config and
retried my long running job and id did work.
MacOS
Which version of k3d?
k3d version v3.0.0-rc.2
k3s version v1.18.3-k3s1 (default)
Which version of docker? Docker version 19.03.8, build afacb8b
The text was updated successfully, but these errors were encountered:
@herozabbix, you cannot change it on cluster creation. It has been increased to 10 minutes.
If you really need more than that right now, you can workaround this issue by
When i attach to a pod to follow the logs with kubectl, the proxy_timeout in the k3d-proxy is set too low and sometimes if nothing happens in the pod, the connection is closed. This timeout should be much higher or configurable.
How was the cluster created?
k3d create -w 4
What did you do afterwards?
kubectl apply -f mydeployment.yaml
kubectl get logs --follow <pod of a job>
error: unexpected EOF
What did you expect to happen?
i expected that kubectl would follow the logs until the job is completed but instead at a point that takes about 3-5 minutes without any new log messages, the error appeared. I then attached to the k3d-proxy container increased the timeout, reloaded the nginx config and
retried my long running job and id did work.
Which version of
k3d
?Which version of docker?
Docker version 19.03.8, build afacb8b
The text was updated successfully, but these errors were encountered: