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

[RFE] Publish Flatcar Linux Arm64 images to Azure #872

Closed
dghubble opened this issue Oct 13, 2022 · 5 comments
Closed

[RFE] Publish Flatcar Linux Arm64 images to Azure #872

dghubble opened this issue Oct 13, 2022 · 5 comments
Labels
kind/docs kind/feature A feature request

Comments

@dghubble
Copy link

Current situation

Flatcar Linux has alluded to arm64 images being available on Azure in #716 and https://twitter.com/flatcar/status/1580307641011576833

The Flatcar Linux Azure docs don't mention arm64 offerings. Looking around, Kinvolk does have a flatcar-container-linux-corevm offering that is marked for Arm64:

az vm image list --all -p kinvolk --sku stable --architecture Arm64
[
  {
    "architecture": "Arm64",
    "offer": "flatcar-container-linux-corevm",
    "publisher": "kinvolk",
    "sku": "stable",
    "urn": "kinvolk:flatcar-container-linux-corevm:stable:3227.2.2",
    "version": "3227.2.2"
  }
]

However, its apparently not usable:

The Offer: 'flatcar-container-linux-corevm' cannot be purchased by subscription: 'REDACTED' as it is not to be sold in market: 'US'

I suppose what you folks mean by saying its supported is that the images are released but I need to go through the manual upload / publish process myself?

Impact

What's the deal here? Do you publish images for Azure Arm64? What are the recommended offerings and channels? Docs?

Ideal future situation

Write some docs on where we can get your images.

@dghubble dghubble added the kind/feature A feature request label Oct 13, 2022
@ahrkrak
Copy link
Contributor

ahrkrak commented Oct 13, 2022

@dghubble
Copy link
Author

Can you show in the az CLI some of the Arm64 images that should be used? Which offer, sku, or urn? The marketplace marketing page doesn't seem to contain that info or link to it.

@jepio
Copy link
Member

jepio commented Oct 14, 2022

Hi @dghubble,
You're right, docs are missing, I apologize for that and we'll add them.

We do publish the images, and you should not need to upload/publish yourself. I think the likely source of your error is that you are still supplying plan information, though I don't really know why that wouldn't work 🤷. We have finally found a way to reduce the burden on users and remove the need for separate plan info. We'll be looking at unifying this with amd64 image publishing which still use the old marketplace name.

To provision an arm64 instances the following steps are enough for me:

g=g$RANDOM
az group create -g $g -l eastus
az vm create -g $g -n vm01 --image kinvolk:flatcar-container-linux-corevm:beta:latest --size Standard_D2pls_v5

@dghubble
Copy link
Author

Ok, I think I see the situation. So flatcar-container-linux-corevm is the intended Arm64 offering name.

  • For Arm64, its important to not specify a plan otherwise you'll get the is not to be sold in market: 'US' error.
  • For x86, I must specify the plan and terms otherwise we get the a Marketplace image requires Plan information in the request error. And maybe in future you plan to reverse that.

It'd be great to see this stuff mentioned in official docs (at least that flatcar-container-linux-corevm is not just some errant debugging image). I don't think anyone would piece this together and have trust in it just on their own.

dghubble added a commit to poseidon/typhoon that referenced this issue Oct 16, 2022
* Kinvolk now publishes Flatcar Linux images for ARM64
* For now, amd64 image must specify a plan while arm64 images
must NOT specify a plan due to how Kinvolk publishes.

Rel: flatcar/Flatcar#872
dghubble added a commit to poseidon/typhoon that referenced this issue Oct 16, 2022
* Kinvolk now publishes Flatcar Linux images for ARM64
* For now, amd64 image must specify a plan while arm64 images
must NOT specify a plan due to how Kinvolk publishes.

Rel: flatcar/Flatcar#872
dghubble added a commit to poseidon/typhoon that referenced this issue Oct 17, 2022
* Kinvolk now publishes Flatcar Linux images for ARM64
* For now, amd64 image must specify a plan while arm64 images
must NOT specify a plan due to how Kinvolk publishes.

Rel: flatcar/Flatcar#872
dghubble-robot pushed a commit to poseidon/terraform-azure-kubernetes that referenced this issue Oct 17, 2022
* Kinvolk now publishes Flatcar Linux images for ARM64
* For now, amd64 image must specify a plan while arm64 images
must NOT specify a plan due to how Kinvolk publishes.

Rel: flatcar/Flatcar#872
@jepio
Copy link
Member

jepio commented Apr 12, 2024

@dghubble better late than never: I've added a section to the docs documenting these offers: https://www.flatcar.org/docs/latest/installing/cloud/azure/#arm64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/docs kind/feature A feature request
Projects
None yet
Development

No branches or pull requests

3 participants