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
0
votes
0 answers

Knative Functions: How to add runtime?

I created a new language pack for Knative to be able to use .net to write functions. When I try to create a function using func create, I get: Error: language runtime not found How do I create / add the appropriate runtime?
rabejens
  • 7,594
  • 11
  • 56
  • 104
0
votes
0 answers

external-ip show pending for service kourier in kourier-system

I am working on knative(latest) and I am new to it. I am following the knative document for installation. Cluster is EKS with kubernetes version 1.25 and Im using fargate. My end goal is deploy service on eks with knative and publish with ALB. I am…
0
votes
1 answer

autoscaling metric type - memory, not working (always create cpu metric based hpa)

I am trying to create hpa for memory based metric, so I provided the annotations in my service according to docs. apiVersion: serving.knative.dev/v1 kind: Service metadata: name: helloworld-go namespace: default spec: template: metadata: …
0
votes
1 answer

Using Ingress with Knative service and Contour

I'm running Knative with Contour for a POC. At the moment, we are using K8s Ingresses (nginx ingress controller) to route traffic to our services. I was wanting to test out how it would work if I use an Ingress to route traffic to a helloworld…
0
votes
0 answers

Knative - Set a Kubernetes service as sink or subscriber

Is it possible to set a Kubernetes service(not a knative service) as a sink or as a subscriber? I was able to create the following subscription, which points a kubernetes service. But the service is not getting triggered. apiVersion:…
Sandeep
  • 199
  • 3
  • 11
0
votes
1 answer

ConnectionResetError (104, 'Connection reset by peer) in kserve?

I have A Hugging face model https://huggingface.co/TahaDouaji/detr-doc-table-detection in Torch serve it is working fine when I deployed it in locally. I tried to deploy the model in kserve as DockerImage. Pods are running fine without any error i…
0
votes
0 answers

Error while building function with KNative

I was trying to build a Serverless application with Knative while using Rust. The program run well locally after calling cargo build. However before deploying the project, I keep ending with the error below. Installing function v0.1.0 (/workspace) …
DasNoob
  • 21
  • 1
  • 4
0
votes
0 answers

Istio Virtual Service with Knative Service External Name

I feel like this should be a simple thing, to point an istio virtual service to a knative service, that gets stood up as an ExternalName type. - match: - authority: prefix: demo.example.io gateways: -…
Noah Kreiger
  • 121
  • 1
  • 7
0
votes
0 answers

Knative - kafkasource - connecting SASL enabled kafka broker of AWS MSK cluster

We are trying to read messages from Kafka cluster(AWS MSK) and produce events using Knative eventing. Everything in sink and works well if the MSK brokers have no authentication, But failed to communicate/connect MSK from KafkaSource if SASL…
0
votes
1 answer

Knative service deployment fails with reason RevisionMissing

I have deployed a service on Knative. I iterated on the service code/Docker image and I try to redeploy it at the same address. I proceeded as follow: Pushed the new Docker image on our private Docker repo Updated the service YAML file to point to…
Alexis.Rolland
  • 5,724
  • 6
  • 50
  • 77
0
votes
1 answer

Create a cronjob in Knative publishing messages to Kafka

I would like to create a cronjob via Knative that sends healthcheck messages to my Kafka topic every 10 minutes. Then we will have a separate endpoint created, that will receive these messages and pass some response to a receiver…
0
votes
0 answers

Why CloudRun instance count could jump very high, especially during redeployment?

When using CloudRun, why my instance count jumps very high during redeployment? My CloudRun application has very low CPU utilization and the traffic is extremely low as well. I would expect during a redeployment the instance count should just go up…
Fuyang Liu
  • 1,496
  • 13
  • 26
0
votes
0 answers

Make Cloud Run frontend app use environment variables (NEXT JS)

Currently, the only environment variable in my frontend Cloud Run app is built into the container during the build step (check dev.cloudbuild.yaml). However, this is not very efficient if I have to add more environment variables into the Cloud Run…
0
votes
1 answer

Configure knative serving to use the local Docker image

How do we configure the knative serving to use the local docker image? If we need to pull the image from the Google Cloud registry, we append "gcr.io/" as a prefix to the image name. Similarly, is there any prefix to be used for the local image? I'm…
0
votes
1 answer

Stream data using tf.data from cloud object store other than Google Storage possible?

I've found this nice article on how to directly stream data from Google Storage to tf.data. This is super handy if your compute tier has limited storage (like on KNative in my case) and network bandwidth is sufficient (and free of charge…
Romeo Kienzler
  • 3,373
  • 3
  • 36
  • 58