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

OSToy images are not multi-architecture #70

Open
davivcgarcia opened this issue Oct 8, 2024 · 0 comments
Open

OSToy images are not multi-architecture #70

davivcgarcia opened this issue Oct 8, 2024 · 0 comments

Comments

@davivcgarcia
Copy link

Description

The sample workloads used in the lab uses a container image built for amd64 only, making it unsuited for workshops exploring ROSA Machine Pools based on arm64 with AWS Graviton. Deploying the YAML in a cluster with mixed machine pools, the pods can be scheduled to the incompatible node.

Error

The pods related to backend and frontend deployments will be in CrashLoopbackOff status, and the logs would say something like this:

kubectl -n ostoy logs ostoy-microservice-6666dcf455-9fhvp
exec /usr/local/bin/docker-entrypoint.sh: exec format error

Suggest Fix

Update the Deployment resources to leverage nodeSelector for amd64 architctures.

 nodeSelector:
   kubernetes.io/arch: amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant