nigelpoulton / qsk-book Goto Github PK
View Code? Open in Web Editor NEWQuick Start Kubernetes book
Home Page: https://leanpub.com/quickstartkubernetes
Quick Start Kubernetes book
Home Page: https://leanpub.com/quickstartkubernetes
Hi Nigel,
I am following the exact steps of your book Quick Start Kubernetes. I am not using my own Docker image but your's.
I created the K8n cluster on Linode as described in the book and everything is working as expected, both nodes are running and green. I have pulled your code from GitHub and didn't changed a single line, just running
kubectl apply -f pod.yml
, which results in no error. But directly after this command the status of the Pod is
NAME READY STATUS RESTARTS AGE
first-pod 0/1 CrashLoopBackOff 10 (2m29s ago) 28m
When I look into the logs via kubectl logs -p first-pod
I get exec /usr/local/bin/docker-entrypoint.sh: exec format error
. kubectl describe
shows the following output (only the last table):
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 30m default-scheduler Successfully assigned default/first-pod to lke90787-137521-63de03d7609a
Normal Pulled 29m (x5 over 30m) kubelet Container image "nigelpoulton/qsk-book:1.0" already present on machine
Normal Created 29m (x5 over 30m) kubelet Created container web-ctr
Normal Started 29m (x5 over 30m) kubelet Started container web-ctr
Warning BackOff 25s (x141 over 30m) kubelet Back-off restarting failed container
I am not sure how to troubleshoot here and what the problem could be as the Dockerfile and app is rather simple and the cluster is healthy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.