Comments (22)
After I use helm to delete old service account. I can install it using Helm.
But when I try to run the faas-cli sample, it says I not deploy Faas. the error is show below:
Error removing existing function: Delete http://localhost:8080/system/functions: dial tcp [::1]:8080: getsockopt: connection refused, gateway=http://localhost:8080, functionName=url-ping
Is FaaS deployed? Do you need to specify the --gateway flag?
Post http://localhost:8080/system/functions: dial tcp [::1]:8080: getsockopt: connection refused
from faas-netes.
I just hit exactly this issue trying to apply the helm chart on minikube. Applying the ClusterRole from the YAML file @stefanprodan supplied in #74 fixed it i.e. I created a YAML file with that ClusterRole, applied that file and then the helm installation worked fine.
from faas-netes.
What are you using? minikube?
from faas-netes.
@weikinhuang can you advise? Maybe if this is minikube rbac.yml shouldn't be applied?
from faas-netes.
I install the minikube for testing. But I want to deploy faas-netes on GKE. So I change kubectl config settings to set current-context to GKE cluster. Do I miss some setting so faas-netes still try to deploy on minikube?
from faas-netes.
What's the cluster master version could run this project? My GKE current master version is 1.7.6-gke.1. Does this effect the deploy result?
from faas-netes.
I downgrade version to 1.6.10-gke.1 but still meet the same problem. Does anyone has experience in deploying this project on GKE?
from faas-netes.
Yes @rawkode installed on GKE. Have you tried installing with Helm and RBAC?
from faas-netes.
I try to use Helm to deploy, but still meet other problem:
`helm upgrade --install --debug --reset-values --set async=false --set rbac=false openfaas openfaas/
[debug] Created tunnel using local port: '55702'
[debug] SERVER: "localhost:55702"
Release "openfaas" does not exist. Installing it now.
[debug] CHART PATH: /Users/chenszuwei/AutoHotSpot/FAAS/faas-netes/openfaas
Error: release openfaas failed: serviceaccounts "faas-controller" already exists`
why I get this error? Can I remove faas-comntroller??
from faas-netes.
Helm won't install the chart without a force flag if existing resources with the same name already exists
from faas-netes.
@rayhero Use port-forward
to get the Gateway available locally and run again
from faas-netes.
First,please exec ns -lptn|grep 8080
to confirm port opened
Second, exec sysctl -a|grep net.ipv4.ip_forward
must be net.ipv4.ip_forward = 1
Third, checkout service.
from faas-netes.
I've got same problem when deploying on GKE with kubectl without any modification fo stacks file from the repo. Do I have to change anything so that it can works on GKE ?
Error from server (Forbidden): error when creating "rbac.yml": clusterroles.rbac.authorization.k8s.io "faas-controller" is forbidden: attempt to grant extra privileges
thanks
from faas-netes.
Have a look at this from @stefanprodan
from faas-netes.
Following the steps from @stefanprodan works for me, deployed with kubectl. Thanks
from faas-netes.
I'm running into this issue trying to deploy to GKE. The link to the YAML file in #74 goes to a 404. Could someone please provide workable installation instructions for non-RBAC Kubernetes?
from faas-netes.
Just curious why you aren't using RBAC @skunkwerk? The helm chart should work for you? It has an option to turn off rbac
from faas-netes.
I am updating the YAML files for the standard installation method in the yaml
branch - #105
from faas-netes.
Closing issue due to inactivity. Please feel free to keep commenting - it's very important to us that this works for everyone.
from faas-netes.
I have a similar issue (I think) - trying to install the samples. This is on ARM (I have created the openfaas namespaces).
kubectl apply -f samples.yml
Deploying: ruby-echo.
Server returned unexpected status code 500 deployments.extensions "ruby-echo" is forbidden: User "system:serviceaccount:default:faas-controller" cannot get deployments.extensions in the namespace "default"
Unexpected status: 500, message: deployments.extensions is forbidden: User "system:serviceaccount:default:faas-controller" cannot create deployments.extensions in the namespace "default"
$ uname -a
Linux kube-master 4.4.50-hypriotos-v7+ #1 SMP PREEMPT Sun Mar 19 14:11:54 UTC 2017 armv7l GNU/Linux
from faas-netes.
Hi @fergalmoran I didn't see you commented after the thread was closed. I've re-created the ARMHF YAML files so you should not have any issues with these now.
Just run this and open a new issue if you need to:
kubectl apply -f ./namespaces.yml,./yaml_armhf
from faas-netes.
Derek lock: issue resolved
from faas-netes.
Related Issues (20)
- Support request for VirtualBox HOT 5
- Documentation for working with the Function CRD - need more documentation about it in my opinion HOT 1
- [Question] About workflow in high concurrency situation HOT 3
- 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
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.