question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE]: ARM64 support for the garden CLI

See original GitHub issue

Feature Request

Hi! I would love to be able to use garden from my low power ARM64 based laptop.

Background / Motivation

I work on a fairly heavyweight project, a web service backed by multiple docker containers running java apps, but I’d love to be able to work from a low power machine without being tied to a large workstation all day.

What should the user be able to do?

Install and use garden CLI on ARM64 hardware, connected to a cluster of any architecture (most likely x86_64)

Why do they want to do this? What problem does it solve?

See motivation above.

Suggested Implementation(s)

I have tried to simply remove the check in src/core/garden.ts and building according to the instructions in CONTRIBUTING.md. This results in a usable garden executable being built. When I try to initialize a remote cluster to use with garden however, I get an error

Sample garden.yml, just the basic example. k8s cluster is running on my x86_64 workstation, and kubectl is connected correctly.

kind: Project
name: phr
environments:
- name: dev
  providers:
  - name: kubernetes
    context: k3d-k3s-default
defaultEnvironment: dev

Sample error

[martin@martin-pinebook phr]$ garden --env=dev plugins kubernetes cluster-init
Plugins

Initializing/updating cluster-wide services for dev environment

β„Ή providers                 β†’ Getting status...

Failed resolving provider container. Here is the output:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Command docker doesn't have a spec for this platform/architecture (linux-arm64)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Failed resolving one or more providers:
- container

See error.log for detailed error message
 providers                 β†’ Getting status...

How important is this feature for you/your team?

🌹 It’s a nice to have, but nice things are nice πŸ™‚

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
edvaldcommented, Jan 13, 2022

Just a quick update, we are on a path to do this. A little tricky because it involves several updates to 3rd party tools we use, but we’ll get there soon.

1reaction
altitudemscommented, Apr 2, 2021

@MFAshby If you start a pull request, I can try and help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the CLI - Garden documentation
The garden CLI is how you work with Garden in most scenarios, during development and in CI pipelines. It features a fairly large...
Read more >
march - Arm Compiler for Embedded Reference Guide
The Arm Compiler for Embedded Reference Guide provides reference information for each tool in the Arm Compiler for Embedded toolchain.
Read more >
ConcourseCI on ARM64. From the website - Martin Grigorov
There are many CI/CD solutions out there but not all of them support ARM64 CPU architecture. And CouncourseCI is one of them!
Read more >
v7.5 [stable] is released! - MikroTik - Forum
hostpot - fixed Walled Garden functionality for HTTPS sites; ... added support for running Docker (TM) containers on ARM, ARM64 and x86Β ...
Read more >
Local Development on Kubernetes: Draft vs Skaffold vs Garden
The second important Draft feature is the automatic deployments of your ... The pack architecture for the supported languages is extensible,Β ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found