Comments (12)
Great news! The chart works perfectly in 1.7.6 with RBAC too: helm install --name openfaas --set async=true ./openfaas
works perfectly with k8s 1.7.6 but that version is still not in the stable channel for minikube hence requires additional parameters to install.
So for minikube users:
- update to latest minikube (v0.22.3)
- bootstrap cluster with
minikube start --kubernetes-version v1.7.6 --bootstrapper kubeadm [--vm-driver ...]
as mentioned in minikube/issues/2003
As I was planning a PR to refine HELM.md, I will put the steps in there if you agree.
from faas-netes.
Please could you run with this?
from faas-netes.
Trying to debug the reason of the failure in openfaas/templates/rbac.yaml
from faas-netes.
Have you run in the additional role needed for RBAC in the helm guide?
https://github.com/openfaas/faas-netes/blob/master/HELM.md
from faas-netes.
We do have a rbac=true/false
switch also. RBAC is on by default.
cc/ @weikinhuang
from faas-netes.
Right now it's trying to create a cluster role. We should change it to use a regular role when functions are not being deployed to a separate namespace.
Or in the meantime give your user cluster-admin privileges.
from faas-netes.
Was having similar problems also with this you can do helm install local/openfaas --set rbac=false
and it should work fine, i think there is a permission issue when deploying additional rbac rule with minikube
might need to enable rbac changes when starting minikube.
from faas-netes.
I'll try to get around to making the needed fix next week
from faas-netes.
@alexellis yes I assigned RBAC role to Tiller but it looks like the issue is not there.
However I tried with a GKE cluster just installed and everything works ok.
At this point it might just be a minikube issue.
Some details on my installation:
minikube version
minikube version: v0.22.3
kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4", GitTreeState:"clean", BuildDate:"2017-09-29T05:56:06Z", GoVersion:"go1.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-10-06T20:53:14Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
from faas-netes.
Elliott @elliotbeach and myself have been deploying with minikube
via the YAML files. I'll try with rbac=false on my Mac with helm
this week and see how that goes.
from faas-netes.
@inge4pres @weikinhuang where did we get on this?
from faas-netes.
Looks like a minikube issue from @inge4pres's comments. However we can probably switch to using a Role
instead of a ClusterRole
when not deploying functions to a different namespace.
from faas-netes.
Related Issues (20)
- Gateway liveness and readiness probes failing [AKS] HOT 5
- OpenFaaS CE - Manually scale to zero HOT 1
- Support request for exceeding Docker Hub rate limit for Prometheus and NATS HOT 1
- Error response from daemon: manifest unknown HOT 2
- Container Gateway of pod faas-netes CrashLoopBackOff : Readiness probe failed and Liveness probe failed HOT 4
- Question on how to access the OpenFaaS gateway HOT 2
- Move to k8s.io/code-generator/kube_codegen.sh for codegen
- Question about OpenFaas CE limitations HOT 1
- Helm chart openfaas/openfaas:14.1.7 fails to install because annotation bool value is not quoted HOT 2
- basic-auth secret is missing in install yaml HOT 1
- [Question] unable to create function, maximum: 30 HOT 1
- Airgap support for Community Edition HOT 3
- Question about usage for Community Edition HOT 3
- Question : about local development for free users and pull policy HOT 1
- Support request about image pull policy HOT 2
- OpenFaaS CE and local registry with KinD HOT 2
- Error checking connectivity, OpenFaaS CE cannot be run in an offline environment: HOT 1
- CRDs are installed despite of createCRDs: false HOT 4
- Custom IngressClass cannot be set for gateway ingress HOT 3
- Deploy Error:"the Community Edition license agreement only supports public images" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faas-netes.