java.lang.IllegalArgumentException

No kubernetes service could be found for name: gogs in namespace: default


Solutions on the web20495

Solution icon of github
via GitHub by davsclaus
, 1 year ago
No kubernetes service could be found for name: gogs in namespace: default

Solution icon of github
No kubernetes service could be found for name: gogs in namespace: default

Solution icon of github
via GitHub by davsclaus
, 1 year ago
No kubernetes service could be found for name: gogs in namespace: default

Solution icon of github
No kubernetes service could be found for name: gogs in namespace: null

Solution icon of github
No kubernetes service could be found for name: amqbroker in namespace: default-testing

Solution icon of github
No kubernetes service could be found for name: hubot-web-hook in namespace: default

Solution icon of github
No kubernetes service could be found for name: jenkins

Solution icon of github
No kubernetes service could be found for name: jenkins

Solution icon of web
via sourceforge.net by Unknown author, 11 months ago
Internal error - no-namespace namespace must be element default

Solution icon of github
via GitHub by PommeVerte
, 1 year ago
Name cannot be in protected namespace: key

Stack trace

  • 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.kubernetes.api.KubernetesHelper.getServiceURL(KubernetesHelper.java:1259) 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.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) 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:498) 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) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

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.