GoogleCloudPlatform / microservices-demo

Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.
https://cymbal-shops.retail.cymbal.dev
Apache License 2.0
17.09k stars 7.35k forks source link

Unable to deploycartservice using skaffold #2782

Open joshuasequeira19 opened 3 weeks ago

joshuasequeira19 commented 3 weeks ago

Write down your inquiry

Describe the bug

Unable to deploy using skaffold run

To Reproduce

skaffold run

Logs

Waiting for deployments to stabilize...- deployment/checkoutservice is ready. [10/11 deployment(s) still pending]- deployment/productcatalogservice is ready. [9/11 deployment(s) still pending]- deployment/paymentservice is ready. [8/11 deployment(s) still pending]- deployment/cartservice: container server terminated with exit code 133- pod/cartservice-7758fb5bd6-m9xxk: container server terminated with exit code 133> [cartservice-7758fb5bd6-m9xxk server] rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2> [cartservice-7758fb5bd6-m9xxk server]- deployment/cartservice failed. Error: container server terminated with exit code 133.1/11 deployment(s) failed

Tried changing the cartservice.yaml

added --platform=linux/amd64

Screenshot 2024-11-02 at 2 56 46 AM

Got this error:

Screenshot 2024-11-02 at 2 57 26 AM

Environment

Chip: M2 Mem: 16 GB macOs: 14.4 (23E214)

skaffold version: v2.13.2 Client: Cloud integration: v1.0.35+desktop.13 Version: 26.0.0 API version: 1.45 Go version: go1.21.8 Git commit: 2ae903e Built: Wed Mar 20 15:14:46 2024 OS/Arch: darwin/arm64 Context: desktop-linux

Server: Docker Desktop 4.29.0 (145265) Engine: Version: 26.0.0 API version: 1.45 (minimum version 1.24) Go version: go1.21.8 Git commit: 8b79278 Built: Wed Mar 20 15:18:02 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.6.28 GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0

Kindly help me out, seems I made a mistake somewhere :3