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
1 answer

Unable to pull from knative - but able from a "normal" deploy

I have a private registry running and I can do a normal deploy, but when using knative I get errors. The registry is running with basic authentication, user and password. I have configured each node(containerd) to use this insecure-registry. I have…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
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

KServe Readiness Checks not working for custom predictor

We have written a custom predictor for KServe. The model is loaded into the GPU directly and due to the size of the model it usually takes 3–4 mins to load. Here is how our inference service looks apiVersion: serving.kserve.io/v1beta1 kind:…
aesher9o1
  • 35
  • 1
  • 8
0
votes
1 answer

"queueproxy" : error reverse proxying request; sockstat: sockets TCP: inuse 27 orphan 2 tw 20 alloc 593 mem 52

I've issue with respect to above subject, using knative v1.2.5 istio 1.12.7 Every 20mins we see below error in the queue proxy, error: "context canceled" knative.dev/key: "test-common-service/test-app-0-0-0" knative.dev/pod:…
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

Installing knative on existing kind cluster

I have an existing kind k8s cluster with a bunch of running services and nginx-ingress setup and I would like to add knative to it. Is there a way of doing this with nginx-ingress, seems like networking for knative is a bit more complex than a…
Rory Hart
  • 1,813
  • 1
  • 19
  • 19
0
votes
2 answers

Unable to call knative GCP Cloud Run service from another Kubernetes service running in the same cluster

I have GKE kubernetes cluster with Cloud Run for Anthos enabled (also running Anthos Service Mesh with Istio) on it which allows me to host GCP Cloud run container services along with other Kubernetes services in the same cluster. I am trying to…
0
votes
1 answer

Argo Workflow + Spark Operator Or Spark with Knative leads to Server less Deployment

Can anyone illustrate the difference between deploying the Spark Operator with Argoflow & Apache Spark with Knative. Which route will help to achieve a pure serverless application stack over Kubernretes.
0
votes
1 answer

How to consume events from a different namespace with knative?

What is the minimum required setup to consume events from a different namespace with knative? I have the following setup, and it doesn't work. My Broker in ns-a: apiVersion: eventing.knative.dev/v1 kind: Broker metadata: name: default #…
TimarTimar
  • 49
  • 5
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

Knative suggested way to store binaries

Knative does only support persistent volumes of type secret, configMap or projected. Here in the doc is mentioned a workaround to work with other persistent volumes. It's not clear to me what is the suggested way, and not a workaround, to store…
Marco
  • 43
  • 5
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…
0
votes
1 answer

Deploying Cloud Run via YAML gives error spec.template.spec.containers should contain exactly 1 container

When deploying a Cloud Run service via a YAML file from the command line, it fails with this error. ERROR: (gcloud.run.services.replace) spec.template.spec.containers should contain exactly 1 container
Luke Puplett
  • 42,091
  • 47
  • 181
  • 266