Technical Post: if you build docker on Apple Silicon and push it manually to Google Artifact Registry Chances are your Kubernetes Deployment can fail Google works on AMD Arch and the Docker you built has ARM Arch Since there is a mismatch your pods will fail with ImageCrashBackoff Please read the documentation clearly before investing your time I learnt it few days back. —- Now back to gyan baaji
@code_sagar Why “chances”? It should fail. Unless you specifically created an AMD image.
@code_sagar While building, add this --platform=linux/amd64
@code_sagar It’s not just k8s. Images built on apple silicon can fail in any cloud container environment if deployed on x86 nodes. Docker build kit provides - - platform options to build multiple-arch images.
@code_sagar You can use the platform tag while building the image to specify the exact architecture you want to build with