You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device and OS: M1 Mac
App version: v0.25.0
Kubernetes distro being used: k3s
Other: Assumption is that this is agnostic to device/OS and k8s distro. This would likely occur on any mismatch between zarf init package architecture and target cluster architecture.
Steps to reproduce
From an arm64 machine, run zarf init
If you don't already have an init package in your local ~/.zarf-cache directory, zarf will prompt you to download an init package with the same architecture of the machine you're on (which may or may not be the same architecture of the target cluster). If it finds one already in the local cache, it's likely that most of the time this package is the same architecture as the machine you're on.
Initialize your cluster with zarf init that uses a different architecture for the init package than the target cluster. In this case use an arm64 init package to initialize an amd64 target cluster.
zarf hangs on opening a port-forwarding tunnel for the zarf injector service
Expected result
Zarf performs pre-flight checks and lets me know that I can't initialize a cluster with an init package that has a different architecture
Actual Result
Zarf hangs on the init stage, and doesn't produce any information that lets you know why
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
This isn't happening in a production environment, but arm64 machines for local dev are becoming more commonly used (thanks Apple), so I would consider this a medium priority.
Additional Context
The text was updated successfully, but these errors were encountered:
Could possibly use the kubernetes.io/arch label on nodes to query for the cluster architecture. It is technically possible to have nodes of different architectures in the same cluster, so I am not sure how or if we need to be able to handle that scenario.
Edit: I didn't realize that zarf already has a helper function for getting the architecture of a cluster's nodes:
Environment
Device and OS: M1 Mac
App version: v0.25.0
Kubernetes distro being used: k3s
Other: Assumption is that this is agnostic to device/OS and k8s distro. This would likely occur on any mismatch between zarf init package architecture and target cluster architecture.
Steps to reproduce
zarf init
~/.zarf-cache
directory, zarf will prompt you to download an init package with the same architecture of the machine you're on (which may or may not be the same architecture of the target cluster). If it finds one already in the local cache, it's likely that most of the time this package is the same architecture as the machine you're on.zarf init
that uses a different architecture for the init package than the target cluster. In this case use anarm64
init package to initialize anamd64
target cluster.Expected result
Zarf performs pre-flight checks and lets me know that I can't initialize a cluster with an init package that has a different architecture
Actual Result
Zarf hangs on the init stage, and doesn't produce any information that lets you know why
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
This isn't happening in a production environment, but arm64 machines for local dev are becoming more commonly used (thanks Apple), so I would consider this a medium priority.
Additional Context
The text was updated successfully, but these errors were encountered: