openfaas / faas-netes

Serverless Functions For Kubernetes
https://www.openfaas.com
MIT License
2.12k stars 473 forks source link

values-arm64.yaml: nodeselector is 'arm' instead of 'arm64' #715

Closed campaquino closed 3 years ago

campaquino commented 3 years ago

As the value was changed to 'arm', but 'arm64' is reported by k8s as architecture, no applicable node for deployment can be found by k8s.

Expected Behaviour

Openfaas can be deployed on 64bit arm machines like RPi4

Current Behaviour

K8s reports it couldn't find any suitable node ('0/1 nodes are available: 1 node(s) didn't match node selector.')

Possible Solution

Revert the change from 'arm64' to 'arm', made in values-arm64.yaml at the nodeSelector beta.kubernetes.io/arch

Steps to Reproduce (for bugs)

  1. setup arm64 machine (e.g. RPi4) with appropriate OS and K8s (e.g. k3sup install --ip --user )
  2. setup openfaas by 'arkade install openfaas' or the equivalent helm command line
  3. wait until helm/arkade has finished its work
  4. check k8s for status of deployments

Context

I tried to setup Openfaas on my RPi4 using Ubuntu and k3s. For convenience k3sup and arkade were used. Unfortunately it did not start any container of the helm chart on my RPi.

Your Environment

alexellis commented 3 years ago

Please feel free to send a PR to revert it back. Thanks for letting us know.