helm 安装openfaas
安装arkade
wget https://github.com/alexellis/arkade/releases/download/0.10.17/arkade
chmod +x arkade
mv arkade /usr/local/bin/arkade安装faas-cli
arkade get faas-cli
mv ~/.arkade/bin/faas-cli /usr/local/bin/
# 自动补全设置到bashrc 中,如果使用了其它sh 需要修改
grep "faas-cli completion --shell bash" ~/.bashrc || echo "source <(faas-cli completion --shell bash)" >> ~/.bashrc
faas-cli version创建namespace
wget https://raw.githubusercontent.com/openfaas/faas-netes/master/namespaces.yml
kubectl apply -f namespaces.yml拉取openfaas chart
helm repo add openfaas https://openfaas.github.io/faas-netes/
helm update
helm pull openfaas/openfaas编写values.yaml
安装openfaas
参考
Last updated