question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to start the pod in kubernetes

See original GitHub issue

Description

I created a sample spring boot application with just one endpoint returning hello as a response. I built the docker image, created resources and pushed it to docker hub using jkube. Now when I deploy it using mvn k8s:apply the pod doesn’t get created and it crashes

Info

  • Eclipse JKube version : 1.0.0-alpha-4
  • Maven version (mvn -v) :
Apache Maven 3.6.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
raveningcommented, Sep 2, 2020

found the issue. If i run mvn k8s:build without first running mvn package, it wont work. so first i had to build package and then run mvn k8s:build. will close the issue

0reactions
rohanKanojiacommented, Sep 3, 2020

@ravening : No worries, Thanks a lot for trying out Eclipse JKube!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Determine the Reason for Pod Failure - Kubernetes
In the YAML file, in the command and args fields, you can see that the container sleeps for 10 seconds and then writes...
Read more >
Is Your Kubernetes Pod Failing to Start? Here's a Command to ...
One frustrating error that Kubernetes users encounter is when a pod sits indefinitely in the “Pending” state. Pending means that your container ...
Read more >
Kubernetes pod not starting - Stack Overflow
I have a kubernetes cluster with 5 nodes. When I add a simple nginx pod it will be scheduled to one of the...
Read more >
Kubernetes CrashLoopBackOff Error: What It Is and How to Fix It
By default, a pod's restart policy is Always , meaning it should always restart on failure (other options are Never or OnFailure )....
Read more >
Container Service for Kubernetes:Pod troubleshooting
Init containers fail to start up. Pods remain in the Init:N/M state, Init:Error state, or Init:CrashLoopBackOff state. Init:CrashLoopBackOff ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found