odo icon indicating copy to clipboard operation
odo copied to clipboard

Specify the target os/arch for build and deploy

Open gorkem opened this issue 3 years ago • 1 comments

/kind feature

Which functionality do you think we should add?

When building and deploying images with odo there should be a way to specify the target os/arch similar to the --platform option for podman build.

Why is this needed?

It should be possible to build and deploy from arm64 local systems (like Mac M1) to Kubernetes clusters that do not have the corresponding arch.

gorkem avatar Sep 28 '22 22:09 gorkem

Grooming call (2022-10-06)

  • Best option to add a flag
  • Also applicable to odo dev, because since #5832, odo dev is able to run non-exec commands part of a composite run/debug command; so this can include apply commands with image components.
  • Should be handled the same way as in #6200 and #6185

rm3l avatar Oct 06 '22 12:10 rm3l

/close Duplicate of #6421

Feel free to reopen if you think otherwise.

valaparthvi avatar Feb 07 '23 12:02 valaparthvi

@valaparthvi: Closing this issue.

In response to this:

/close Duplicate of #6421

Feel free to reopen if you think otherwise.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Feb 07 '23 12:02 openshift-ci[bot]