Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Provide User feedback that ARM (darwin and linux) is not supported for bootstrapping #2616

Closed
edinel opened this issue Nov 29, 2021 · 10 comments
Labels
kind/feature A request for a new feature owner/core-eng Work executed by TCE's core engineering team owner/framework Work executed in vmware-tanzu/tanzu-framework reporting/health/nice-to-have reporting/health/on-track
Milestone

Comments

@edinel
Copy link

edinel commented Nov 29, 2021

Description

It should be clear in the docs that Apple Silicon is not supported yet with TCE. A good friend of mine was unable to get started because Apple Silicon is not supported and the way he discovered that was, eventually, figuring out somewhat cryptic error messages when he tried to install.

Location

Additional Context

@edinel edinel added kind/docs A change in documentation triage/needs-triage Needs triage by TCE maintainers labels Nov 29, 2021
@github-actions
Copy link

Hey @edinel! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Tanzu Community Edition.

@davidvonthenen
Copy link
Contributor

Yep, we currently don't support arm64. We have an issue being tracked here: #2171

All the downloadable packages on the release page do include the CPU architecture as part of the filename. Currently, we only support amd64 on all platforms.

@pdehlke
Copy link

pdehlke commented Nov 29, 2021

brew install vmware-tanzu/tanzu/tanzu-community-edition works on both amd64 and arm64. It's still not at all unheard of to have amd64 binaries installed on M1 machines, and run just fine via rosetta. To be clear: tanzu runs, but does not meaningfully work on Apple Silicon, and there is nothing in the documentation, the error messages, or the output from the software that tells the user that, should they try to build a docker/tanzu cluster on Apple Silicon, it will fail miserably and obscurely.

The UX here is pretty miserable: the user is left to figure out for themselves that tanzu has pulled arm64 images from projects.registry.vmware.com :(

@davidvonthenen
Copy link
Contributor

davidvonthenen commented Nov 29, 2021

Yea, the TCE build does produce arm64 binaries, but we don't include them in the release yet because of missing certain arm64 images/etc. It's the "does not meaningful work" is the big reason why it isn't supported yet. Will need to revisit this since we updated to a later version of Tanzu Framework. If we still don't have support for arm64, will see about producing an error earlier or give a warning with instructions.

Something @edinel might be able to help with... Since TCE and TKG are tied at the hip because the resources (BOM, images, and etc) used in TCE are the same, is Tanzu Framework going to fully support arm64?

@joshrosso
Copy link
Contributor

In summary, it is the process of bootstrapping clusters that is not compatible with ARM (both linux and darwin), as such, we should provide the appropriate warnings to users from a docs and CLI-level. Here is our proposed approach.:

  1. Update our docs/pre-reqs to mention that bootstrapping on an ARM-based machine does not work
  2. Continue to allow install of TCE using amd64 binaries (many apps do this and work transparently via rosetta II)
  3. When creating clusters, do an architecture check, and provide a warning that it likely won't work on arm

@joshrosso joshrosso added owner/framework Work executed in vmware-tanzu/tanzu-framework owner/core-eng Work executed by TCE's core engineering team kind/feature A request for a new feature and removed triage/needs-triage Needs triage by TCE maintainers labels Dec 2, 2021
@joshrosso joshrosso added this to the v0.11.0 milestone Dec 2, 2021
@joshrosso joshrosso changed the title Apple Silicon Not Supported Provide User feedback that ARM (darwin and linux) is not supported for bootstrapping Dec 2, 2021
@joshrosso
Copy link
Contributor

@stmcginnis we should add this pre-flight check to unmanaged-cluster. Then we can open an issue in framework for the other plugins.

@stmcginnis
Copy link
Contributor

@joshrosso
Copy link
Contributor

Great! Will open up an issue in framework for the management-cluster plugin.

@jpmcb
Copy link
Contributor

jpmcb commented Feb 24, 2022

Circling back on this:

  • Docs updated with support matrix for arm:

image

@jpmcb jpmcb closed this as completed Feb 24, 2022
@joshrosso
Copy link
Contributor

Re-opening this as:

is not complete. This should act as a tracking issue until that work is complete and can be integrated into TCE.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature A request for a new feature owner/core-eng Work executed by TCE's core engineering team owner/framework Work executed in vmware-tanzu/tanzu-framework reporting/health/nice-to-have reporting/health/on-track
Projects
None yet
Development

No branches or pull requests

8 participants