Kong / Kong/go-echo

Unable to convert a nil pointer to a runtime API image

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
11
Forks
4
PR merge metrics
No merged PRs in 30d

Description

In Kubernetes, kong/go-echo:latest gives the above error.
I am following the instructions at https://docs.konghq.com/kubernetes-ingress-controller/3.4.x/get-started/services-and-routes/#deploy-an-echo-service
I am running this on a Mac M4 , K8s on Docker For Desktop .

I have replaced it with kong/go-echo:0.4.0 for now , & I am able to proceed

Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 15m default-scheduler Successfully assigned default/echo-6f4786c4b4-5rkz8 to docker-desktop
Normal Pulled 15m kubelet Successfully pulled image "kong/go-echo:latest" in 5.579s (5.579s including waiting). Image size: 0 bytes.
Normal Pulled 15m kubelet Successfully pulled image "kong/go-echo:latest" in 1.446s (1.446s including waiting). Image size: 0 bytes.
Normal Pulled 15m kubelet Successfully pulled image "kong/go-echo:latest" in 2.427s (2.427s including waiting). Image size: 0 bytes.
Normal Pulled 15m kubelet Successfully pulled image "kong/go-echo:latest" in 2.89s (2.89s including waiting). Image size: 0 bytes.
Normal Pulled 15m kubelet Successfully pulled image "kong/go-echo:latest" in 2.164s (2.164s including waiting). Image size: 0 bytes.
Normal Pulled 14m kubelet Successfully pulled image "kong/go-echo:latest" in 3.619s (3.619s including waiting). Image size: 0 bytes.
Normal Pulled 14m kubelet Successfully pulled image "kong/go-echo:latest" in 1.987s (1.987s including waiting). Image size: 0 bytes.
Normal Pulled 14m kubelet Successfully pulled image "kong/go-echo:latest" in 1.995s (1.995s including waiting). Image size: 0 bytes.
Normal Pulled 13m kubelet Successfully pulled image "kong/go-echo:latest" in 2.941s (2.941s including waiting). Image size: 0 bytes.
Normal Pulled 5m57s (x31 over 13m) kubelet (combined from similar events): Successfully pulled image "kong/go-echo:latest" in 3.818s (3.818s including waiting). Image size: 0 bytes.
Normal Pulling 51s (x60 over 15m) kubelet Pulling image "kong/go-echo:latest"
Warning Failed 48s (x60 over 15m) kubelet Error: unable to convert a nil pointer to a runtime API image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the deployment from the linked Kubernetes services-and-routes instructions on Docker Desktop with kong/go-echo:latest, then compare it with kong/go-echo:0.4.0. Check the reported Kubernetes events and determine whether the image or the documentation needs correction; done means the documented image deploys without the nil-pointer error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.