Unable to start the pod in kubernetes
See original GitHub issueDescription
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
-
Kubernetes version : v1.18.5
-
If it’s a bug, how to reproduce : git clone https://github.com/ravening/Spring-Boot-Kubernetes/tree/master/jkube buid it, create docker image, create resources and deploy it to kubernetes
-
If it’s a feature request, what is your use case :
-
Sample Reproducer Project : [GitHub Clone URL] https://github.com/ravening/Spring-Boot-Kubernetes/tree/master/jkube
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

found the issue. If i run
mvn k8s:buildwithout first runningmvn package, it wont work. so first i had to build package and then runmvn k8s:build. will close the issue@ravening : No worries, Thanks a lot for trying out Eclipse JKube!