Questions tagged [knative]

Questions relating to http://knative.dev/ open source kubernetes-based platform to deploy and manage modern serverless workloads.

Questions relating to http://knative.dev/ open source kubernetes-based platform to deploy and manage modern serverless workloads. This may include commercial implementations such as

  1. Red Hat's OpenShift Serverless Architecture.
  2. IBM Knative.
  3. Google Cloud Run.
202 questions
5
votes
2 answers

Google Cloud Run deployment not working using `gcloud` SDK CLI

I have a service created on Google Cloud run that I am able to deploy manually through the Google Cloud Console UI using an image on Container registry. But deployment from CLI is failing. Here is the command I am using and the error I get. I am not…
pcx
  • 984
  • 11
  • 21
4
votes
1 answer

How to scale knative service based on custom metrics?

I'm using Knative serving with KPA. Autoscaling is available in Knative based on concurrency and RPS. But we need to scale different services based on queue lengths because there are long running async processes. Is there any way we can achieve this…
Nitesh
  • 1,067
  • 1
  • 10
  • 19
3
votes
1 answer

Kperf build failing

I've tried to Build kperf by running build.sh, but I get The following error with unable to find io/fs. I'm a huge go noob, any help appreciated. ibrahim@home:~/kperf/src/knative.dev/kperf$ ./hack/build.sh ⚖️ License Format …
Desolar1um
  • 85
  • 5
3
votes
1 answer

how to call knative service [grpc server] by using a python client

I have created a knative service[gRPC server] in aks cluster, I have exposed the service using istio gateway private static IP, After using the command kubectl get ksvc I have got an address sample-app.test.10.153.157.156.sslio.io When I try to use…
3
votes
2 answers

Can we setup Knative cluster with Kata Container runtime?

I'm a newbie to lightweight virtual machines. I'm going to install Knative with Kata Container Runtime. Is it possible? I know that Kubernetes works with Kata Container runtime. But, Does Knative work properly with that?
3
votes
2 answers

Set values in a knative service.yaml file using environment variables

Is there a way to set the values of some keys in a Knative service.yaml file using environment variables? More detail I am trying to deploy a Knative service to a Kubernetes cluster using GitLab CI. Some of the variables in my service.yaml file…
ostrokach
  • 17,993
  • 11
  • 78
  • 90
3
votes
0 answers

Request consistently returns 502 after 1 minute while it successfully finishes in the container (application)

To preface this, I know an HTTP request that's longer than 1 minute is bad design and I'm going to look into Cloud Tasks but I do want to figure out why this issue is happening. So as specified in the title, I have a simple API request to a Cloud…
3
votes
1 answer

Knative service http timeout setting

What settings are required to ensure that the queue-proxy doesn't timeout in 60 seconds? My http requests timeout in 60 seconds and the queue-proxy has these error…
3
votes
1 answer

How does Knative Serving's Activator intercept requests to scaled down revisions?

As described here, Knative's Activator receives and buffers requests to inactive revisions. How is this routing implemented? All I see in the Namespace of my application is a VirtualService routing requests to the revisions, so I don't see how…
dippynark
  • 2,743
  • 20
  • 58
3
votes
1 answer

grpc-go over https: failed rpc error: code = Unavailable desc = transport is closing:

Note: This is running in containers in Kubernetes. I have successfully done this very short description: https://knative.dev/docs/serving/samples/grpc-ping-go/ Success: 2019/05/08 13:43:56 Ping got hello - pong 2019/05/08 13:43:56 Got pong…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
2
votes
1 answer

Automatic creation of Ingress resources with Knative

Is it possible to have Knative automatically create K8s Ingress resources? Hello all, Based on the following lines from documentation, I was wondering if I can have Knative automatically create the Ingress resources for my service? I haven't found…
2
votes
1 answer

KNative and gRPC with nginx-ingress

I have installed Knative/KServe in my AWS EKS cluster. Everything is working fine, but recently we decided to try gRPC for our services deployed there. It's deployed with Istio,winth nginx ingress in front of everything, with ingress pointing to…
2
votes
1 answer

Google Cloud Run Internal error occurred while performing container health check

Sometimes (no specific correlation) Cloud Run fails to deploy a new revision because of issues with performing a container health check: X Deploying... Deploying Revision. Waiting on revision -s7px8. …
star67
  • 1,505
  • 7
  • 16
2
votes
1 answer

KNative service not handling requests concurrently when using eventing with KafkaSource

Summary: I'm trying to use KNative eventing to expose a simple web application via a Kafka topic. The server should be able to handle multiple requests concurrently, but, unfortunately, it seems to handle them sequentially when I send them via…
Ash
  • 23
  • 5
2
votes
4 answers

How to Connect knative-eventing to RabbitMQ External Source

I am trying to connect Knative with an existing RabbitMQ queue outside the Kubernetes cluster, but after testing and looking at the documentation I am not sure this can be done, does anyone know how to use Knative-eventing with an external RabbitMQ…
Juan
  • 21
  • 1
1
2 3
13 14