Questions tagged [knative-serving]

108 questions
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
4
votes
1 answer

How to increase 15 minutes request timeout for Google Cloud Run service deployed on GKE?

The current documentation (https://cloud.google.com/run/quotas#cloud_run_limits) states there is a 15 minute maximum timeout permitted (configurable) for a cloud run request. Is this the limit on GKE as well, or may it be possible to configure GKE…
mohawkTrail
  • 606
  • 1
  • 7
  • 19
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
1 answer

Enable HTTPS on Knative serving

Hello I have deployed an EKS cluster with my app running in it, under serving.knative.dev/route=helloworld-go I have also configured EKS ELB with ACM but still routes showing http on kubectl, Is it neccessary to configure knative serving with…
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
3
votes
1 answer

How to set a minimum scale for Cloud Run on GKE services?

I'm using Cloud Run on Google Kubernetes Engine and I'm able to deploy and access services without a problem. But since I'm running on GKE and paying for the cluster 24/7 it makes no sense to scale a deployment to zero and always have a cold start…
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
2 answers

Can Knative always start pods for each incoming request?

We want to build a simplified job/task processing system based on Kubernetes. We thought about using Knative and its eventing features. However, one requirement is to execute each task/job isolated in a separate pod. Afterwards, we wanna destroy the…
Michael Wurster
  • 158
  • 1
  • 8
2
votes
1 answer

k8s user container is getting shut down by envoy/istio sigterm without completing process

Envoy sending TERM signal and closing my application before the process completion. Increasing Drain Duration preventing the pod from going down after the completion.(its waiting for the grace duration to be over and not allowing any new…
2
votes
1 answer

Knative services URLs

I'm currently evaluating Knative but I've definitely find no way to use path instead of subdomain in the URL for accessing service. By default, when creating an service, the URL is made like this: http://Name.Namespace.Domain and what I would like…
Cédric
  • 31
  • 2
1
2 3 4 5 6 7 8