Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geerlingguy/kube101:hello-go-v2 crashes #31

Open
t2d opened this issue Jul 30, 2021 · 2 comments
Open

geerlingguy/kube101:hello-go-v2 crashes #31

t2d opened this issue Jul 30, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@t2d
Copy link

t2d commented Jul 30, 2021

Chapter 3 - "Updating the Go App"

❯ kubectl get pods
NAME                        READY   STATUS    RESTARTS   AGE
hello-go-57db6d78c7-6nvwj   1/1     Running   0          88m
hello-go-57db6d78c7-tcdjw   1/1     Running   0          86m
hello-go-57db6d78c7-zrmqq   1/1     Running   0          86m

❯ kubectl set image deployment/hello-go kube101=geerlingguy/kube101:hello-go-v2
deployment.apps/hello-go image updated

❯ kubectl get pods
NAME                        READY   STATUS             RESTARTS   AGE
hello-go-57db6d78c7-6nvwj   1/1     Running            0          88m
hello-go-57db6d78c7-tcdjw   1/1     Running            0          87m
hello-go-57db6d78c7-zrmqq   1/1     Running            0          86m
hello-go-69c8fd4b66-khd89   0/1     CrashLoopBackOff   1          7s

❯ kubectl rollout undo deployment hello-go
deployment.apps/hello-go rolled back

❯ kubectl get pods
NAME                        READY   STATUS    RESTARTS   AGE
hello-go-57db6d78c7-6nvwj   1/1     Running   0          88m
hello-go-57db6d78c7-tcdjw   1/1     Running   0          87m
hello-go-57db6d78c7-zrmqq   1/1     Running   0          86m

Log only shows: [pod/hello-go-69c8fd4b66-hddqv/kube101] standard_init_linux.go:219: exec user process caused: exec format error

@geerlingguy
Copy link
Owner

Hmm... I wonder if maybe I only built an arm64 version of the image. I need to build it for Intel/ARM.

@geerlingguy geerlingguy added the bug Something isn't working label Jul 30, 2021
@nqb
Copy link

nqb commented Sep 30, 2022

I got same behaviour here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants