Questions tagged [knative-serving]
108 questions
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
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:
…

Parneet Raghuvanshi
- 50
- 8
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…

i-haidar
- 43
- 1
- 6
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
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…

Prox
- 11
- 2
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…

Vinay Cheguri
- 55
- 7
0
votes
1 answer
Obtaining a public IP or domain name in a Knative+MiniKube setup
I am attempting to use knative to self-host a simple FaaS platform from an on-premises Linux server. I have installed minikube successfully, and installed/configured knative using the knative operator.
Following the default selection in the linked…

cboettig
- 12,377
- 13
- 70
- 113
0
votes
1 answer
How to enable HTTPS for InferenceService in KNative
Can you please kindly help. I have successfully deployed KNative cluster for our ML services, using official documentation. Everything is working good, expect HTTPS.
I've followed https://knative.dev/docs/serving/using-a-tls-cert/, installed…

dmitrii
- 31
- 1
0
votes
1 answer
Secure mTLS communication within Istio-knative services + external requests
We are converting existing k8s services to use istio & knative. The services receive requests from external users as well as from within the cluster. We are trying to setup Istio AuthorizationPolicy to achieve the below requirements:
Certain paths…

Mukund Jalan
- 1,145
- 20
- 39
0
votes
1 answer
How to auto scale up/down Flink Stateful Functions on K8s
My Current Flink Application
based on Flink Stateful Function 3.1.1, it reads message from Kafka, process the message and then sink to Kafka Egress
Application has been deployed on K8s following guide and is running well: Stateful Functions…

Yun Xing
- 43
- 4
0
votes
2 answers
Knative Parallel and Sequence demo fails
I am trying out knative sequence/parallel flows.
I started with sequence example mentioned in official website for release v1.1
I created steps, sequence and pingSource as mentioned in the document but pingSource failed because sequence was not…

Anil Gowda
- 446
- 3
- 12
0
votes
1 answer
knative service not working with nginx image
Do you know why nginx is not starting using Knative?
No problem using standard deployment:
kubectl create deployment nginx --image=nginx
But using Knative service - there is issues:
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name:…

Chris G.
- 23,930
- 48
- 177
- 302
0
votes
1 answer
Is it possible to install KNative on Google GKE in "Autopilot" mode?
Is it possible to install KNative on Google GKE in "Autopilot" mode?
I unfortunately haven't found any tutorial on this and cannot use a managed solution for this project because the cpu and memory ressources of my workload are too high.
(The…

Stefan
- 3
- 1
0
votes
2 answers
Serving custom model from Kubeflow pipeline
I have a kubeflow pipeline which trains custom (i.e. not based on sklearn / tensorflow etc. classes) ml model. Now I would like to add serving at the end of the pipeline. I.e. I want to have a service in my Kubernetes cluster which uses the model to…

Tomasz Cakala
- 1
- 1