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
1
vote
2 answers

Knative logging: log stash - Kibana unable to fetch mapping

For Knative logging, following the instructions here - https://github.com/knative/docs/blob/master/serving/installing-logging-metrics-traces.md#elasticsearch-kibana-prometheus--grafana-setup, I tried to visualise the logs using Kibana UI (the…
0
votes
0 answers

Slow Knative service creation times

I have Knative v1.10.2 running on a GCP GKE cluster installed using the Knative Operator with Kourier as networking layer. I have the Knative Serving components scaled to 3 pods each. I've been using kperf to test service creation speed. I've run…
0
votes
0 answers

knative eventing with kafka is sending requests again and again

I have successfully implemented the integration of Knative eventing within an EC2 instance, connecting it to Kafka running in Amazon Managed Streaming for Apache Kafka (MSK). The system has been configured so that when a request is sent, it triggers…
sai_0033
  • 11
  • 4
0
votes
1 answer

"address not set" error in a Broker-Trigger configuration with Event Display

Trying something really basic here to start things out. Service "event-display-task1" is using the Go Event Display without issues. My service "event-display-task2" is a simple image based on the example from github…
Tom
  • 302
  • 2
  • 5
  • 14
0
votes
0 answers

Knative Function

Which components I have to install/build to run a Python function that receives HTTP request and replies with a confirmation message. The header of this request includes a value, which represents a temperature reading? I will use JMeter to test…
Water
  • 1
0
votes
0 answers

.rules accessor error on changing networking layer for Knative Serving

Describe the bug On moving away from Contour to Kourier for networking layer, Knative Serving cannot be reconciled due to the follow…
0
votes
0 answers

Kperf result of scale is error: failed to get the cluster endpoint: http2 port of ingress service not found

Im trying to run kperf service scale or load doesnt work due to the following error. I am using Contour as networking layer and I have 2 namespaces, Contour-internal and contour-external. Both result in the same error. I don't understand what…
Desolar1um
  • 85
  • 5
0
votes
2 answers

Knative Functions with Spring Boot: Dosnt get up! Readiness Probe Failures?

I have been working on Knative functions and am experiencing some issues while deploying it. The application is a simple Java Spring Boot application (the default application that will be crated with kn func create), deployed on a Minikube cluster…
0
votes
0 answers

KNative running on different cluster versions: failed to list *v2beta2.HorizontalPodAutoscaler: the server could not find the requested resource

I have been struggling with this scenario, so I'll post it here and I hope someone point me to the right direction, as I'm not sure whether this is a KNative, client-go or my code issue I have an operator (based on KNative eventing) that needs to…
dfranca
  • 5,156
  • 2
  • 32
  • 60
0
votes
0 answers

Is Bi-directional Communication with Long-Lived Serving Code Supported in Knative?

I’d like to setup a Knative Serving for a bunch of revisions (50k, most of them scaled to 0) The serving code will be fairly long-lived, up to 1 min, and bi-directionally communicate with a caller. It’d be great if one bi-directional session would…
JanCoder
  • 1
  • 1
0
votes
0 answers

internalTrafficPolicy not work in Kubernetes

I am studying in Serverless Computing with OpenFaaS and Knative. I have some problem with svc of K8s. Arcording Kubernetes Documentation, we can using internalTrafficPolicy and externalTrafficPolicy to force kubeproxy to forward incomming traffic to…
0
votes
0 answers

knative kafkasource consuming from earliest offset even though initialOffset configured to latest

What could force the knative kafkasource to consume from earliest instead of latest when configured to do so? We are using knative kafkasource and configured the initialOffset = latest. Now we deleted the kafkasource consumer and kubernetes start to…
0
votes
1 answer

Can I send event to knative broker directly?

I have installed kubernetes v1.23 and knative v1.4 on a cluster with three machines. I read from knative doc that event producers can send events to a broker by POSTing the event. So I write a demo to send events to broker using the cloudevents…
Info-H
  • 1
  • 1
0
votes
1 answer

How to build the mirror package in knative/serving

How to create knative/serving each image in the bag, such as: GCR. IO/knative - releases/knative. Dev/serving/CMD/webhook etc Where can I find a Dockerfile or makefile? Or do I need to write my own how to correctly type the mirror package I didn't…
Roger
  • 1
0
votes
0 answers

Path parameters with NodeJS serverless

I am learning serverless with nodejs. Right now a little bit confused. When I look at knative specifically, it is not clear to me how to handle path parameters. In this description , it is said that: Functions are invoked with a context object as…
Billy Billy
  • 423
  • 4
  • 14