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

Agent won't run on multi-arch clusters #12

Open
maciej-wilczynski opened this issue Jun 6, 2022 · 1 comment
Open

Agent won't run on multi-arch clusters #12

maciej-wilczynski opened this issue Jun 6, 2022 · 1 comment

Comments

@maciej-wilczynski
Copy link

Hello, I hit some troubles running this module on multiarch cluster (amd64 mixed with arm64 nodes), https://hub.docker.com/r/hashicorp/tfc-agent isn't built for arm64 and throws error standard_init_linux.go:228: exec user process caused: exec format error . It would be nice to be able to select nodes using node_selector ie:

        node_selector = {
          "kubernetes.io/os"   = "linux"
          "kubernetes.io/arch" = "amd64"
        }
@redeux
Copy link
Owner

redeux commented Jun 23, 2022

This seems like a reasonable solution given that os and arch are populated automatically by the Kubelet. Are you planning to open a PR for this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants