Open cmoulliard opened 4 years ago
Have you set your registry to something that’s not docker.io?
Get Outlook for iOShttps://aka.ms/o0ukef
From: Charles Moulliard notifications@github.com Sent: Wednesday, May 27, 2020 10:07:57 PM To: kameshsampath/kind-nodeport-controller kind-nodeport-controller@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [kameshsampath/kind-nodeport-controller] Issue: Exec Failure: com.github.dockerjava.api.exception.NotFoundException: No such image: alpine/socat:latest (#6)
Issue
java -Ddev.kameshs.watcher.kind-name=demos -jar target/kind-nodeport-controller-runner.jar
--/ \/ / / / | / \/ //_/ / / / / -/ // / // / |/ , / ,< / // /\ \ --___// |//|//||____// 2020-05-27 18:36:25,712 INFO [io.quarkus] (main) kind-nodeport-controller 0.1.0-SNAPSHOT (powered by Quarkus 1.4.2.Final) started in 3.018s. Listening on: http://0.0.0.0:8080 2020-05-27 18:36:25,739 INFO [io.quarkus] (main) Profile prod activated. 2020-05-27 18:36:25,739 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, hibernate-orm-panache, jdbc-h2, kubernetes-client, mutiny, narayana-jta, resteasy, smallrye-health, smallrye-openapi, vertx] 2020-05-27 18:36:32,190 INFO [dev.kam.ServiceWatcherResource] (executor-thread-1) Expose NS demos 2020-05-27 18:36:32,200 INFO [dev.kam.ser.WatchNamespaceService] (vert.x-eventloop-thread-14) Got to watch service in namespace demos 2020-05-27 18:36:32,681 INFO [dev.kam.wat.ServiceWatcher] (OkHttp https://127.0.0.1:54156/...) Service Event ADDED Received for myapp 2020-05-27 18:36:32,997 INFO [dev.kam.wat.ServiceWatcher] (OkHttp https://127.0.0.1:54156/...) Run new container 2020-05-27 18:36:33,190 INFO [dev.kam.uti.ContainerUtility] (OkHttp https://127.0.0.1:54156/...) Starting Container 2020-05-27 18:36:33,843 WARN [io.fab.kub.cli.dsl.int.WatchConnectionManager] (OkHttp https://127.0.0.1:54156/...) Exec Failure: com.github.dockerjava.api.exception.NotFoundException: No such image: alpine/socat:latest at com.github.dockerjava.jaxrs.filter.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:66) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:171) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:159) at org.glassfish.jersey.process.internal.Stages.process(Stages.java:147) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:301)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkameshsampath%2Fkind-nodeport-controller%2Fissues%2F6&data=02%7C01%7C%7Cb839b3e8d2bd4f31a45108d8025c5045%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637261942783831339&sdata=3SxoX8gBNKfO8QY3zt49nKvFfqRvHGwyJaM9bN%2Bo2ho%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHHMIOEBEMY4TZWULIGMF3RTU6WLANCNFSM4NMJSW5A&data=02%7C01%7C%7Cb839b3e8d2bd4f31a45108d8025c5045%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637261942783831339&sdata=z654EAEdklkeO6xoQnzsUHQTxOBnGslI539qGgurKDo%3D&reserved=0.
I pulled manually the image and the problem is gone
docker images
...
alpine/socat latest 2398cf75de68 4 months ago 9.06MB
That’s weird :)
Get Outlook for iOShttps://aka.ms/o0ukef
From: Charles Moulliard notifications@github.com Sent: Thursday, May 28, 2020 3:01:52 PM To: kameshsampath/kind-nodeport-controller kind-nodeport-controller@noreply.github.com Cc: Kamesh Sampath kamesh.sampath@hotmail.com; Comment comment@noreply.github.com Subject: Re: [kameshsampath/kind-nodeport-controller] Issue: Exec Failure: com.github.dockerjava.api.exception.NotFoundException: No such image: alpine/socat:latest (#6)
I pulled manually the image and the problem is gone
docker images ... alpine/socat latest 2398cf75de68 4 months ago 9.06MB
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkameshsampath%2Fkind-nodeport-controller%2Fissues%2F6%23issuecomment-635230237&data=02%7C01%7C%7C9ed2cabedbe7433298bf08d802e9f51e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637262551144137107&sdata=XrqFwzKwcCCCeWFlRzsdSRHlENUTGW6P0EwHuDWIsj4%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHHMILGRY4ICYBLJXHYE4LRTYVQRANCNFSM4NMJSW5A&data=02%7C01%7C%7C9ed2cabedbe7433298bf08d802e9f51e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637262551144147089&sdata=egfc20FAhT%2F8QcDC2u72XK9UYCek9ddgYUqM5JnCBqI%3D&reserved=0.
My point is to have multiple node ports for which setting at cluster level might not help.
Get Outlook for iOShttps://aka.ms/o0ukef
From: Charles Moulliard notifications@github.com Sent: Thursday, May 28, 2020 4:32:19 PM To: kameshsampath/kind-nodeport-controller kind-nodeport-controller@noreply.github.com Cc: Kamesh Sampath kamesh.sampath@hotmail.com; Comment comment@noreply.github.com Subject: Re: [kameshsampath/kind-nodeport-controller] Issue: Exec Failure: com.github.dockerjava.api.exception.NotFoundException: No such image: alpine/socat:latest (#6)
FYI, the following scenario is working on my macbook using docker client
kind delete cluster --name demo cat <<EOF | kind create cluster --name demo --config=- kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes:
apiVersion: apps/v1 kind: Deployment metadata: name: myapp spec: selector: matchLabels: app: myapp template: metadata: labels: app: myapp spec: containers:
http :31500
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkameshsampath%2Fkind-nodeport-controller%2Fissues%2F6%23issuecomment-635271532&data=02%7C01%7C%7C7ec3a858bd284d6fcfca08d802f697ec%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637262605422404842&sdata=FwBfWAstxs%2Fn5EvmrctAvJNHXxlI4A9XnHP7w4JJxHk%3D&reserved=0, or unsubscribehttps://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHHMIN3FYVZCKJN4UMZGM3RTZADXANCNFSM4NMJSW5A&data=02%7C01%7C%7C7ec3a858bd284d6fcfca08d802f697ec%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637262605422414831&sdata=olFN%2BNjKN2cFoF%2FLLhGvwF1jqIjsYWiinqUcpGR3K2c%3D&reserved=0.
Issue