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

How Knative swiches traffic to activator when pods scale to zero

I read about Knative private and public service. Private service always point to the actual deployment's endpoint while public service can either point to - where private service is pointing or it can point to activator. But in my case public…
Pragmatic
  • 3,093
  • 4
  • 33
  • 62
1
vote
1 answer

Reasoning behind Knative concurrency

I have started exploring Knative recently and I am trying to understand how concurrency and autoscaling work. I understand that (target) concurrency refers to the number of requests that can be scheduled to a single Pod for a given revision at the…
childerico
  • 89
  • 6
1
vote
1 answer

Can Knative's Kafka Broker be fed with events from outside its cluster?

When I setup a kafka broker, its URL by default using e.g. "http://kafka-broker-ingress.knative-eventing.svc.cluster.local/example/default" I am only able to send event from resource within k8 cluster. Is it possible to setup a kafka broker using…
1
vote
2 answers

How to configure DNS for KNative when there isn't an External IP but there is an istio-ingressgateway?

The knative docs describe the following: To configure DNS for Knative, take the External IP or CNAME from setting up networking, and configure it with your DNS provider as follows If the networking layer produced an External IP address, then…
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
1
vote
1 answer

SinkBinding fails to inject K_SINK environment variable

I am trying to set up a Knative eventing pipeline, where exists a container that accepts external gRPC requests and fires events into a broker for further processing. In my toy example, I am failing to use SinkBinding to inject K_SINK environment…
Bora M. Alper
  • 3,538
  • 1
  • 24
  • 35
1
vote
1 answer

Knative service with Kong gateway and path based routing

Let's say we have many microservices running on k8s with deployments, services and ingresses accessible with kong ingress gateway on api.localhost. Each microservice run on specific path, e.g. api.localhost/foo for foo…
manro
  • 43
  • 4
1
vote
0 answers

Knative/Istio with AWS Application Load Balancers

I have a question regarding the interaction between Knative serving, Istio, and AWS Application Load Balancers (ALB from now on). I'm deploying Knative Serving v0.20 using the YAML manifests (not the kn console) and Istio using the Helm charts.…
1
vote
0 answers

How to enable AutoTLS in Knative using Terrafom?

In the Knative documentation for enabling AutoTLS, it says that I need to add this to the data block in config-certmanager configmap: issuerRef: | kind: ClusterIssuer name: letsencrypt-issuer The only solution that I can think of is to use a…
Daniel
  • 509
  • 1
  • 4
  • 17
1
vote
0 answers

How to verify Kafkachannel persistence?

I am investigating the benefits of changing the channel implementation from inmemory to Kafka. I understand that inmemorychannel is not persistent and Kafkachannel is. So I hypothesized that Kafkachannel would work like this:. When a channelPod…
1
vote
1 answer

Knative - kubernetes yaml to mount data from google cloud storage

I am an newbie for Kubernetes and Cloudrun deployment using YAML file, So pardon if this question should very basic. Problem: I have files that are stored in cloud storage. I want to download these files in the local mount before the container spins…
1
vote
0 answers

/busybox/sh: syntax error: bad substitution with Tekton

I'm trying to pull source code from Github then build and push a docker image to docker hub using Tekton pipeline and Knative on Kubernetes cluster. I'm following this link for the installation and setup of…
Arpitha
  • 11
  • 1
1
vote
1 answer

How to create the knative serving

I have written a custom resource as part of the deployment. As part of this in the reconcileKind function, I have written the logic to create pod as shown below using the Kubernetes APIs in Go itself. I would like to convert this to knative serving…
coders
  • 719
  • 1
  • 11
  • 35
1
vote
1 answer

How to create ingress on istio service to cloud run anthos (knative)

I'm working on Cloud Run Anthos at GCP and host on GKE cluster. Which I follow this qwiklabs for study the Cloud Run…
1
vote
2 answers

Serverless framework for trigger

I am looking for a serverless framework(free) , where i can create a kafka trigger and when triggered a kube function is to be invoked (python) I have tried nuclio but the problem is that i have kafka version higher and they do not support higher…
1
vote
1 answer

Knative: update image of a service in a CI autodeploy pipeline

I recently converted my kubernetes deployment service to a knative serverless application. I am looking for a way how to update the image of a container the the knative app from a CI/CD pipeline without using yml file (CI pipeline doesn't have…
intense
  • 197
  • 1
  • 9