java.lang.IllegalArgumentException: No kubernetes service could be found for name: gogs in namespace: default

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by davsclaus
, 1 year ago
No kubernetes service could be found for name: gogs in namespace: default
via GitHub by davsclaus
, 1 year ago
No kubernetes service could be found for name: gogs in namespace: default
via GitHub by davsclaus
, 1 year ago
No kubernetes service could be found for name: gogs in namespace: default
via GitHub by paoloantinori
, 11 months ago
No kubernetes service could be found for name: gogs in namespace: null
via GitHub by stevef1uk
, 1 year ago
No kubernetes service could be found for name: amqbroker in namespace: default-testing
java.lang.IllegalArgumentException: No kubernetes service could be found for name: gogs in namespace: default
at io.fabric8.kubernetes.api.KubernetesHelper.getServiceURL(KubernetesHelper.java:1297)
at io.fabric8.maven.enricher.git.GitEnricher.getAnnotations(GitEnricher.java:129)
at io.fabric8.maven.plugin.enricher.EnricherManager$Extractor$2.extract(EnricherManager.java:154)
at io.fabric8.maven.plugin.enricher.EnricherManager.extract(EnricherManager.java:130)
at io.fabric8.maven.plugin.enricher.EnricherManager.extractAnnotations(EnricherManager.java:120)
at io.fabric8.maven.plugin.enricher.MetadataEnricherVisitor.visit(MetadataEnricherVisitor.java:46)
at io.fabric8.kubernetes.api.builder.BaseFluent.accept(BaseFluent.java:70)
at io.fabric8.kubernetes.api.builder.BaseFluent.accept(BaseFluent.java:10)
at io.fabric8.kubernetes.api.builder.BaseFluent.accept(BaseFluent.java:67)
at io.fabric8.maven.plugin.enricher.EnricherManager.visit(EnricherManager.java:174)
at io.fabric8.maven.plugin.enricher.EnricherManager.enrichLabels(EnricherManager.java:71)
at io.fabric8.maven.plugin.ResourceMojo.generateKubernetesResources(ResourceMojo.java:366)
at io.fabric8.maven.plugin.ResourceMojo.execute(ResourceMojo.java:160)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.