alexellis / arkade

Open Source Marketplace For Developer Tools
https://blog.alexellis.io/kubernetes-marketplace-two-year-update/
MIT License
4.27k stars 289 forks source link

[Feature request] Heterogeneous Kubernetes clusters #276

Open msw10100 opened 4 years ago

msw10100 commented 4 years ago

I have a k3s cluster of mostly raspberry pi 4s with 8 GB RAM. The cluster has a single Intel worker node with 16 GB RAM running k3s-agent. When I try to install an app such as minio or mongodb, arkade exits with an error.

Expected Behaviour

~$ arkade install mongodb
Mongodb installed

Current Behaviour

~$ arkade install mongodb
Using kubeconfig: 
Using Kubeconfig: /home/mwatson/.kube/config
Node architecture: "arm"
Error: only Intel, i.e. PC architecture is supported for this app

Possible Solution

???

Steps to Reproduce (for bugs)

See above

Context

Since there is an Intel node in the cluster, I expected arkade to successfully install the mongodb deployment to that node.

Your Environment

k3os 0.11.1 on all the Raspberry Pi 4 nodes k3s v1.18.12+k3s1 several k3s-agents on additional Raspberry Pis One k3s-agent on a node running Ubuntu 20.04

~$ kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-16T17:18:52Z", GoVersion:"go1.15.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.9+k3s1", GitCommit:"630bebf94b9dce6b8cd3d402644ed023b3af8f90", GitTreeState:"clean", BuildDate:"2020-09-17T19:04:57Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/arm"}
For the K3s Server:

Linux k3os-302 5.4.72-v8+ #1356 SMP PREEMPT Thu Oct 22 13:58:52 BST 2020 aarch64 GNU/Linux

NAME="k3OS"
VERSION="k3OS v0.11.1"
ID=k3os
ID_LIKE=alpine
PRETTY_NAME="k3OS v0.11.1"
VERSION_ID="v0.11.1"
HOME_URL="https://k3os.io/"
SUPPORT_URL="https://k3os.io/"
BUG_REPORT_URL="https://github.com/rancher/k3os/issues"
ISO_URL="https://github.com/rancher/k3os/releases/download/v0.11.1/k3os-arm.iso"

For the Intel node:

Linux ubun2 5.4.0-53-generic #59-Ubuntu SMP Wed Oct 21 09:38:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
~$ kubectl get nodes -o wide
NAME       STATUS     ROLES    AGE     VERSION        INTERNAL-IP    EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION     CONTAINER-RUNTIME
node-2     NotReady   <none>   2d8h    v1.18.9+k3s1   10.20.30.102   <none>        k3OS v0.11.1         5.4.72-v8+         containerd://1.3.3-k3s2
k3os-302   Ready      master   2d10h   v1.18.9+k3s1   10.20.30.100   <none>        k3OS v0.11.1         5.4.72-v8+         containerd://1.3.3-k3s2
ubun2      Ready      <none>   27m     v1.19.3+k3s3   10.20.30.124   <none>        Ubuntu 20.04.1 LTS   5.4.0-53-generic   containerd://1.4.1-k3s1
node-3     Ready      <none>   2d8h    v1.18.9+k3s1   10.20.30.103   <none>        k3OS v0.11.1         5.4.72-v8+         containerd://1.3.3-k3s2
node-1     Ready      <none>   2d8h    v1.18.9+k3s1   10.20.30.101   <none>        k3OS v0.11.1         5.4.72-v8+         containerd://1.3.3-k3s2
node-4     Ready      <none>   2d8h    v1.18.9+k3s1   10.20.30.104   <none>        k3OS v0.11.1         5.4.72-v8+         containerd://1.3.3-k3s2
0.6.22
alexellis commented 4 years ago

/set title: [Feature request] Heterogeneous Kubernetes clusters