Run Apigee Emulator on Minikube

Can some share more info on required changes for Minikube. I am able to get the container started but then I see this msg - Runtime is not Up in vscode

when checked on the container logs I could see this error msg.

 

{
"level": "SEVERE",
"thread": "main",
"mdc": {},
"className": "com.apigee.messaging.configuration.MessageProcessorServiceImpl",
"method": "registerLoopBackServer",
"severity": "SEVERE",
"message": "Unable to instantiate Loop back Message processor service. for server http://0.0.0.0:8998 with error",
"formattedDate": "2022-04-23T19:50:17.521Z",
"logger": "MESSAGING.RUNTIME",
"exceptionStackTrace": "com.apigee.errors.http.server.ServiceFailureException{ code = protocol.http.SeverStartFailed, message = Failed to start server on \"localhost/127.0.0.1:8998\", associated contexts = []}\nCaused by: java.net.BindException: Address already in use\n\tat sun.nio.ch.Net.bind0(Native Method)\n\tat sun.nio.ch.Net.bind(Net.java:461)\n\tat sun.nio.ch.Net.bind(Net.java:453)\n\tat sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222)\n\tat sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)\n\tat com.apigee.nio.ServerChannel.bind(ServerChannel.java:35)\n\tat com.apigee.protocol.http.HTTPServer.start(HTTPServer.java:227)\n\tat com.apigee.messaging.adaptors.http.configuration.MessageProcessorHttpSkeletonFactory$1.start(MessageProcessorHttpSkeletonFactory.java:122)\n\tat com.apigee.messaging.configuration.MessageProcessorServiceImpl.registerLoopBackServer(MessageProcessorServiceImpl.java:356)\n\tat com.apigee.messaging.configuration.MessageProcessorServiceImpl.registerHttpServer(MessageProcessorServiceImpl.java:339)\n\tat com.apigee.messaging.configuration.MessageProcessorServiceImpl.start(MessageProcessorServiceImpl.java:186)\n\tat com.apigee.kernel.service.deployment.ServiceDeployer.startService(ServiceDeployer.java:173)\n\tat com.apigee.kernel.service.deployment.ServiceDeployer.deploy(ServiceDeployer.java:73)\n\tat com.apigee.kernel.service.deployment.ServiceDeployer.deployDependantServices(ServiceDeployer.java:355)\n\tat com.apigee.kernel.service.deployment.ServiceDeployer.deploy(ServiceDeployer.java:78)\n\tat com.apigee.kernel.module.deployment.ModuleDeployer.deploy(ModuleDeployer.java:51)\n\tat com.apigee.kernel.MicroKernel.deployAll(MicroKernel.java:275)\n\tat com.apigee.kernel.MicroKernel.start(MicroKernel.java:156)\n\tat com.apigee.kernel.MicroKernel.main(MicroKernel.java:112)\n"
}

 

 

I was looking at following link but couldn't gather much. Colima is not a option for me since I am on Windows machine.

0 4 297
4 REPLIES 4

do you have any other container on your minikupe on port 8998? 

 

 

Nope. This is fresh installation of minikube on windows 10 machine with virtualbox as the driver. I was able to run docker desktop and able to get the emulator running correctly but with Minikube on windows machine its always throws that error.

I also tried running the image directly but it still shows the above error.

kalathilajaymen_0-1650973912611.png

 

 

using the same machine for docker desktop & minikube? is it possible its still running in docker desktop?

No @emarcotte - I turned off docker desktop. Also tried on mac machine as well. Same issue.