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

Error while dialing dial tcp 10.0.2.15:1233: i/o timeout #88

@devopstales

Description

@devopstales

I use the latsest kim binary (v0.1.0-beta.7). I installed on a k8s 1.20.13 cluster. The install looks good (logs above), but when i try to list images is get this error: Error while dialing dial tcp 10.0.2.15:1233: i/o timeout

klf builder-r4rds -c buildkit
time="2021-12-05T09:41:16Z" level=warning msg="using host network as the default"
time="2021-12-05T09:41:16Z" level=info msg="found worker \"c0bb48tm9n3r3rrc5ru1s91rn\", labels=map[org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:alma8 org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/amd64 linux/386]"
time="2021-12-05T09:41:16Z" level=info msg="found 1 workers, default=\"c0bb48tm9n3r3rrc5ru1s91rn\""
time="2021-12-05T09:41:16Z" level=warning msg="currently, only the default worker can be used."
time="2021-12-05T09:41:16Z" level=warning msg="TLS is disabled for unix:///run/buildkit/buildkitd.sock"
time="2021-12-05T09:41:16Z" level=info msg="running server on /run/buildkit/buildkitd.sock"
time="2021-12-05T09:41:16Z" level=info msg="running server on [::]:1234"

klf builder-r4rds -c agent

No log in agent. The ip in the error 10.0.2.15 is the ip of the pod:

kgp -o wide
NAME            READY   STATUS    RESTARTS   AGE   IP          NODE    NOMINATED NODE   READINESS GATES
builder-r4rds   2/2     Running   0          25m   10.0.2.15   alma8   <none>           <none>

Obviously my host can not connect to the pod ip. What is a best practice here. Is there an option to run kim with loadbalancer service, or an ingress? how can I configure the cli where to connect? For example to connect to a port forward to localhost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions